Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox sending an error message
Message
From
03/03/2006 07:26:44
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Listbox sending an error message
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01101194
Message ID:
01101194
Views:
53
Hi,

Does anyone encountered this listbox error message when you tried to press the Enter Key when there's no record being/is highlighted in the listbox.

This happens when i created a form with listbox(list of customers are displayed for selection that returns a value selected from it) and called by my transaction data form. when the form is called/activated it displays the list of customers without any of the list being highlighted first. When i click on any of the list then it gets highlighted or click any of the list and scroll to make a selection by pressing Enter Key, it returns that value and no error at all. But when i tried to Press Enter Key first right after the form was called without any item in the list selected or highlighted by clicking it with a mouse, It returns an error and VFP quits the programs.

Another thing. how can i make the first list/record in the listbox becomes the default record highlighted or selected just like in the combobox when you activate it, the first record becomes the first record highlighted?

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform