Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing a property at runtime
Message
From
13/11/2004 10:59:37
 
 
To
13/11/2004 10:38:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00961048
Message ID:
00961158
Views:
28
>Methinks you can still save the name of the image control in a property. For example, in some property (for an example, I will use a form property, .oImageControl), save the value: "ThisForm.CntMyClass.Image1", if that is where the image will be accessed.

I see it should be done at design time. I will have to change all my forms and controls that reffers to commands properties. What if a control, p.e. a checkbox, has something like this:
Thisform.Command1.Visible = This.Value
??. I will have to change this code, won't I?. It is desirable just to add the image class at runtime without making any changes to the existing code
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform