Why not use !EMPTY(control.SelText)? Returns True is a value is selected and False if not.
>Is there another function that does the same thing, but returns a true or false? I am designing a shortcut menu.
>
>Jim
>
>
>>Jim ---
>>
>>
>>Control.SelText = text selected in a given control (textbox)
>>
>>
>>>Does anyone know if there is a function to tell if text is selected in a textbox control? I am trying to create a shortcut menu with the windows standard cut, copy, and paste functions.
>>>
>>>Thanks
>>>
>>>Jim
------------------------------------------------
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