Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design Time Validation
Message
From
05/09/2001 02:52:05
 
 
To
04/09/2001 23:22:57
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00552303
Message ID:
00552352
Views:
14
Hi!

Nice idea.

However, in general, there are no design-time events in VFP. This is pity, because Delphi have them. Delphi allows to customize even properties editor, so you can make you custom property is editable by different controls, drop-down lists with choises for numeric values etc. Yet VFP have this only for default properties and does not allow to change this, only class builder can help here.

>>Hello All,
>>
>>I am attempting to develop some standard classes for my programers to use and I was wondering if anyone could tell me how to place some design time validation on some of the properties in the classes?
>>
>>For example: I have a command button class for which I do not want the developers to be able to change the size. How could I prevent them from changing the width and height properties for that class?
>>
>>Thanks for any suggestions.
>>
>>Matt
>
>Mark these properties as protected. Although there is still the matter of distributing the VCX/PRG. I guess if you use some type of version control software or maybe even file system permissions you can prevent changes to certain files.
>
>HTH
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform