Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Allow setting of default value when creating a property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00687375
Message ID:
00687394
Vues:
13
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform