Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The lostfocus event
Message
From
13/03/1998 14:03:17
 
 
To
13/03/1998 14:02:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00084544
Message ID:
00084547
Views:
30
>>If I am using a combobox that is a dropdownlist, the valid event does not fire. So i check to make sure the user has selected an entry when the object loses the focus. How do I set the focus back to the object when it is in the lostfocus event? I try to setfocus in the lostfocus event but that does not work.
>>
>>Thanks
>>Matt
>
>
>THIS.Selected(ItemID)
>THIS.Refresh()
>NODEFAULT
>
>Is this what you're looking for? And does it work? I think it would but I can't try it at this time.

Ooooppsss.....I meant THIS.Selected(ItemID#) = .T.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform