Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formating properties
Message
 
To
25/02/2002 11:03:19
Adrian Demaestri
Ministerio de Economia de La Prov. de Ba
La Plata, Argentina
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00624538
Message ID:
00624565
Views:
9
None that I know of. See Forum: Visual FoxPro Category: Classes - VCX Title: Re: 'This.Parent.Property' resolution Thread #622707 Message #623016
for a way to do a simple builder.

You can also use ASSERT to restrict values. However this only runs at runtime as well. But that is what assert is for. It will cause VFP to break when a value is true and allow you to debug. But it won't break in the compiled app.

BTW, VB's porperty let/get/set are the equiv. of VFPs assign/access.

>Is there a way to restrict the format of a property defined by the user??
>or a way to insert code in the Class that runs in design time??
>
>I've tryed to do it by inserting code in the assign method but it only runs in execution time.
>
>In few words, I want to restrict the possible values of a property added by myself to it only accept some values (like fonts, colors, pictures, or given values), I investigated a little in VB and it has the PropertySet, PropertyLet and PropertyGet events, but I can't find an equivalent in VFP.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Reply
Map
View

Click here to load this message in the networking platform