Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting windows properties in DEFINE WINDOW?
Message
De
04/08/1999 07:25:22
 
 
À
03/08/1999 10:05:05
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00248917
Message ID:
00249638
Vues:
23
Cetin,

Will try out your code. I'm using BROWSE because the task is rarely use and I want to get rid of some unnecessary forms being created.

Thanks,
Gan

>>All,
>>
>>I have a DEFINE WINDOW command line where I want to control the properties of it. Example , I want only vertical scrollbar when I issue a BROWSE ....WINDOW using the window. Or, Allow Row Sizing =.F. when doing the job.
>>
>>How can I do that? NAME objectname in the DEFINE WINDOW syntax?
>>
>>
>>Thanks,
>>Gan
>C.D.
>Mixing browse object and define window. They're separate and as Ed said you could use a form instead of window.
>To be able to manage a browse like a grid use "NAME" clause as you guessed :
>
use home()+"samples\data\employee"
>browse name "myBrowse" nowait
>with myBrowse
>  .scrollbars = 2
>  .AllowRowSizing = .f.
>  .Setall("DynamicBackColor","iif(recno()%2=0,255^3,255^2)","column")
>*...
>endwith
Browse is one of the most powerfull commands of FP but yet try to shift towards using grid. In some aspects it's more powerfull (and lacking compared to browse in a minor set - like when, valid events behaviour).
>Cetin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform