Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding code to existing grid textboxes
Message
De
18/07/2007 08:28:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01241212
Message ID:
01241442
Vues:
29
>
>Cetin,
>I was wondering if this could be done. I would need to add a few things to your code as we only want to change out text boxes that are from the VFP base class but that's not a problem. I the previous post in this thread you will see where Borislav came up with some code for the grid init that swaps them out at runtime. It seems to work well on the test form I did and I am going to put it into the grid base class and see what happens. If we don't run into any problems I will probably swap them all out using your code.
>Thanks for the help.

"I would need to add a few things to your code as we only want to change out text boxes that are from the VFP base class"
Code does that, only touches the ones that come from base class.

Swapping them out at runtime, is not something I'd suggest. That's why I said a custom grid, building its own custom controls would kill existing method code if any. I wouldn't want to go and check each and every textbox if I have already some code in them;)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform