This doesn't work because the selected text could be on any form and any control. The expression builder doesn't like this or thisform either.
Thanks though
Jim
>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
Thanks
Jim