Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: MaKiT
  • Order by date
  1. MaKiT

    Code: When an item isn't selected in a listbox.

    I just figured it out, funily enough by looking at a visual basic app. It was: If listbox1.itemIndex = -1 then showmessage('Select a File first') else ... Thanks for replying though
  2. MaKiT

    Code: When an item isn't selected in a listbox.

    I need an 'If then else' statement so if text in a listbox is not selected then a message pops up saying 'Please select an item'. I can do the message bit but I dont know what to put after 'If'. Any expert help?

Part and Inventory Search

Back
Top