>>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