Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get MyClass.MyCheckbox into a grid?
Message
De
25/01/2008 09:46:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/01/2008 09:26:07
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01285496
Message ID:
01285505
Vues:
25
This message has been marked as the solution to the initial question of the thread.
>Got a CheckBox in a class library and want to use it instead of the default TextBox that's in one of the columns of my grid. How do I do that? Visually at design time. Thanks!

-Click your checkbox in toolbar, put it on form (anywhere will use temporarily).
-Set its properies (like Caption to none). Add code if any there while it's freely sitting on form (harder to do once got into grid).
-When you're ready. Select and cut with Ctrl+X
-Ctrl+Click your grid to set edit mode.
-Click the desired column
-Ctrl+V to paste. Copy its name.
-Select its column in PEM sheet
-Set CurrentControl to the name of checkbox you placed (Ctrl+V - you copied name above)
-Set sparse to .f.
-Set alingment to center

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
Répondre
Fil
Voir

Click here to load this message in the networking platform