Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Allow setting of default value when creating a property
Message
From
08/08/2002 02:36:55
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00687375
Message ID:
00687394
Views:
14
>>>>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...

Yes, those are all good. But, I still think this would be a nice feature to add.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform