Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why to make a browse window act like modal form?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00133690
Message ID:
00133799
Vues:
18
ken,

looked at the name clause of the browse in help. it gives you the ability to use the object-oriented properties available for the Grid. do not think this will help me. any other ideas?

thanks - brenda

>I can't confirm this right now, but take a look at the name clause of the browse command. Using it gives you all the properties and methods of a form.

>>have about 50 browse windows in my app. when the client clicks on the underlying form (usually by mistake in trying to resize the browse) the browse window dissappears. client would like the browse to act like a modal form. all the browse windows are using a window template. tried adding the windowtype = 1. window type is 1 in the debugger but it did not change the behavior of the browse window.
>>
>>*-------------------------
>>Define Window TemplateWin From 0,0 size 3,10 System Name oTemplateWin
>>
>>With oTemplateWin
>> .Width=740
>> .Height=330
>> .borderstyle=3
>> .caption="[ENTER] or [RightMouse] to SELECT - [ESC] to CANCEL"
>> .FontName="Arial"
>> .fontsize=8
>> .controlbox=.f.
>> .movable=.t.
>> .closable=.t.
>> .minbutton=.t.
>> .maxbutton=.t.
>> .windowtype=1
>>EndWith
>>
>>Browse NOEDIT NODELETE NOAPPEND Window TemplateWin in window apptoplevelform
>>*-------------------------
>>
>>changing the browse to a grid is not an option. i need to keep the browse windows, but would like them to not dissappear if the client accidentally clicks on the form.
>>
>>thanks - brenda
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform