Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Allow setting of default value when creating a property
Message
 
To
08/08/2002 02:29:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00687375
Message ID:
00687392
Views:
12
>>>I haven't found it. I was wondering if there is a way to assign a default value when creating a property from the form designer. From the menu, I click on Property to create a new property. However, in that form, I don't see any way to enter a default value.
>>
>>You assing the value via the property sheet...
>
>Yes, and that's why I wanted to know if there was a way to do it from the "Create property" form. All the time, I have to create the properties. Then, I have to remember the ones I have added and put their default values in the property sheet after. I just posted a wish list entry for that. I think this would be nice.

In a prg class, you can do it directly.
In a visual class (or a form) you have to do it via the property sheet
or programmaticaly in the init of the control or form.
You can also use the access method of the property to return a default
value if the property was not initialized...
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform