Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent user from clicking outside a BROWSE ?
Message
 
To
21/05/1997 17:06:50
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00033135
Message ID:
00033188
Views:
54
>>>>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 ?
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform