>>>>>Hi guys,
>>>>>I launch a Browse in top of a form, and I want to force
>>>>>the user to press ESC to leave the browse, I don't
>>>>>want the user to click back in the form to leave it.
>>>>>Is there a way to do this ?
>>>>>
>>>>>=THIS.thanks("in advance")
>>>>
>>>>Luis, define a window as modal with no tools and then browse in that window.
>>>>
>>>>HTH
>>>
>>>Thanks Matt,
>>>I thougt about that, but couldn't find a "Modal" option in the
>>>DEFINE WINDOW command, how can I do it?.
>>
>>DEFINE WINDOW {whatever} NAME oMyWindow
>>
>>oMyWindow.WindowType = 1
>
>Thanks again Matt,
>I did that and didn't work also, exactly I did this
>
>DEFINE WINDOW MyWindow ;
>FROM 1,1 TO 20,30 ;
>NAME oMyWindow
>
>oMyWindow.WindowType=1 (Also tried 3)
>
>BROWSE WINDOW MyWindow
>and still can click outside of the browse window.
>What am I missing ?
Try "BROWSE WINDOW MyWindow MODAL"