Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid and Double-Click Event
Message
De
19/06/2001 13:28:07
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00520905
Message ID:
00521153
Vues:
16
>Hi Lutz,
>
>Do you know about a way to do it in design time? I have the similar code in the grid class, but it would be much better to just place the grid one the form, and it already has our own text control instead of the standard one. When you can work on grid in design time (add some specific code, etc.).


Hi Nadya,
as I understand the above, you will drop the Grid ,alter COLUMNCOUNT and the new control appears. No I did not know a way to that. As mentioned before I never alter things like FORMAT etc. within the designer. I like to do this in a speciales hook class, so I may control all such properties depending on language, user or so. I simply create a grid with COLUMNCOUNT=-1 and add the columns and all there Properties later.

But - if you like there is an untested kludge.

Drop the Grid
Change COLUMNCOUNT

Add the alter code from to an extra method, let's say ChangeCtrlOnDesign

Move Mousecursor over the grid (better grid's container is selected)
In Foxpro's command window enter loCtrl = SYS(1270)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform