Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hacking objects classes
Message
From
18/02/2016 15:49:02
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
18/02/2016 14:34:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01631600
Message ID:
01631704
Views:
50
If you realy like, I have a builder that can change classes for objects in a container. I think similiar tith the Thor solution. It's a hackers tool, but works. Anyway, I think REPLACE is the better solution for your problem.

>Thank you Lutz.
>
>>>I used to know this by heart but I forgot all the necessary steps. I know I have it in a book somewhere but still I wanted to ask here because I'm sure it'll be an easy reply for a lot of developers here.
>>>
>>>So I have a form with a bunch of textboxes for example. I want to change the class of that textbox without having to remove those textboxes from my form and adding the one from the new wanted class.
>>>
>>>Instead of me hacking manually the required objects do you know if someone developed a tool to do that hacking faster?
>>
>>I know of no explicit tool
>>
>>but
>>USE your_frx
>>
>>replace CLASS with ctargett FOR CLASS=='OldCLASS' and BASECLASS='TEXTBOX' 
>>use
>>compile classlib your_frx
>>
>>is fast enough
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform