what box to use


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 8 of 8

Thread: what box to use

  1. #1
    Join Date
    Mar 2008
    Posts
    130

    what box to use

    hi good day to all..im having problem on deciding what box to use to display items

    the 1st box is will show the products
    the 2nd box will be a box where the items the customer will be buying

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    If the items box needs to display just one thing, like the item name, just use a ListBox.

    If the buying box needs to display just one thing like the name of the item being purchased, then just use a ListBox.

    If you need to display more than just one thing concerning any particular item, use a ListView.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Mar 2008
    Posts
    130
    o thanks..does listview box have double click event?so when i double click the item it will automatically appear to my buy box

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Quote Originally Posted by chokies12 View Post
    o thanks..does listview box have double click event?so when i double click the item it will automatically appear to my buy box
    Yes, the listview does have a double click event.

    But, nothing will happen unless you provide the code for the event.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  5. #5
    Join Date
    Mar 2008
    Posts
    130
    can you give me a sample of the code for that event

  6. #6
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    You want the item in one listview to be copied over to the other listview on double click or is there more to it?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  7. #7
    Join Date
    Mar 2008
    Posts
    130
    deduct quantity from the database to..example click item1 it will automatically deduct 1quantity to the database and update the the listview

  8. #8
    Join Date
    Mar 2008
    Posts
    130
    any inputs guys?really need some help

Similar Threads

  1. vbCrlf works in text box 1 but not text box 2
    By wisgro in forum VB Classic
    Replies: 7
    Last Post: 09-14-2008, 08:06 AM
  2. Check box isssue when bound to a database column
    By Narayan in forum VB Classic
    Replies: 0
    Last Post: 04-10-2001, 11:30 AM
  3. HELP!! uncovering hidden dialog box
    By TC in forum VB Classic
    Replies: 14
    Last Post: 10-04-2000, 04:42 AM
  4. HELP!! uncovering hidden dialog box
    By TC in forum VB Classic
    Replies: 0
    Last Post: 09-29-2000, 12:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center