Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How disappointed I am .
Message
From
05/02/2002 03:22:24
Max Chen
Yx Software
Shunde, China
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
How disappointed I am .
Miscellaneous
Thread ID:
00615259
Message ID:
00615259
Views:
58
*- the following codes try to add property and method for a command button
aSelObj(aArray)
o=aArray(1) && store a reference of a command button in form designer
o.AddProperty('test_p','1')
o.WriteMethod('test_m',"? ok ",.t.) &&the .t. means create new method

Ok, it seems ok, the property inspect window shows what i had added,
the new property and the new method. Then open the scx file by a use,
what i add is there.

Great, i think i can write a short routine to add properties and
methods for objects containing in a form on design time. My code will
be more good...


But....

When i run the form, only the new method of command button can be access,
the property missed.
And after serveral time of open the form in designer, the two gone !

Mr. Ken Levy, do please add this feather in toledo.


AND, anybody can tell me how to hack in the fox to accomplish that in vfp7 ?

TIA.
Next
Reply
Map
View

Click here to load this message in the networking platform