Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent user from clicking outside a BROWSE ?
Message
De
21/05/1997 23:44:54
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00033135
Message ID:
00033222
Vues:
46
>>>>>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"
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform