Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activating A List From Within A Valid Event
Message
From
14/10/2002 12:24:21
Carmen Gassi
Perseus Software Systems
Oakville, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00710933
Message ID:
00710967
Views:
12
>Hi Carmen,
>
>I have the same situation in DataEntry application. The valid of textbox calls form's method, which it turn invokes a new form with the listbox.
>
>
>>Hello
>> I'm not sure how you get around this one, I've managed to work around it in other parts of applications, but I would like to find out how a lot of you get at the solution. In the valid event of a text box, I would like to activate a list of correct choices if the user has entered an incorrect name or employee number. I am able to make the list visible, but am not allowed to setfocus to the list. If the list has to be scrolled up or down or simply to choose a correct name from the list I am unable to do that because not allowed to call setfocus from within a valid event. I could default focus to the list and take the name from the list before the user keys any data in, but the users like to use the keyboard in this particular form and having to move the mouse when not necessary wouuld slow them down. So how can you get around the setfocus issue from within a valid event?
>>
>>Thanks as always,
>>Carmen
Hi Nadya
Are you saying that in the valid event of the textbox, you call a method in the form that launches a new form which contains the listbox? If so, could you call the listbox from the method of the original form?

Just wondering,
Carmen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform