Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hacking objects classes
Message
De
18/02/2016 15:49:02
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
18/02/2016 14:34:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01631600
Message ID:
01631704
Vues:
48
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]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform