Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to copy control from one grid column to another
Message
De
30/12/1998 05:59:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00171287
Message ID:
00171469
Vues:
24
>Ok, I know how to delete a control from a grid column and how to add a new one.
>
>How do I copy a control from one grid column to another? TIA.
Design time and runtime differs but as I learned this is design time. There are a few ways to do it. Choose one you find easy or smart :
1- Code a builder. Base command is aselobj() to get the reference to the control. Then you add to desired columns same object type and set PEM via code. Not easy as it sounds.
2- Save as class your control, and add that new class to desired columns. Smart way but might lead to unnecessary class definitions.
3- Design your new control outside of grid (temporarily on form) and set PEM there (except controlsource), Ctrl+C it, go to grid to edit, select desired columns one by one and paste. Delete temporary form control.
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