Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Property Value
Message
De
21/02/1997 13:09:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Groupes d'usagers
Divers
Thread ID:
00021534
Message ID:
00021581
Vues:
43
>>>>>>Can you put anything in a property. Like text,numbers,
>>>>>>etc...?
>>>>>>
>>>>>>Rob
>>>>>
>>>>>
>>>>>Some standard properties will allow you to put anything in it, others only accept specfic data types. If it is a custom property that you've added, you put anything in it.
>>>>>
>>>>>Craig
>>>>
>>>>Thanks... that answer helps, but I am not sure why I would add a custom
>>>>property? When would I have a need to call on it in my programs?
>>>>
>>>>Rob
>>>
>>>
>>>Custom properties can be used for all kinds of things....use them instead of variables. For example, in VFP, you can have multiple forms open, even the same form multiple times. I have a custom property in my standard data entry form that keep track of the current Mode (Add, Edit, Query, etc.). With multiple forms open, I can't use a variable...which form would it apply to? The only place for this to be is in a form property. Take a look at the Tasmanian Traders example and you'll see many custom properties.
>>>
>>>Craig
>>
>>Thanks... I will look at the Tasmanian Traders example, but first...
>>with multiple forms open, which form do you pick to add the the property
>>variable? (the formset)...
>>
>>Rob
>
>you put the property in the form at design time, not runtime. when running, you put code in the init or load to manage....

thanks for helping...

rob
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform