Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get MyClass.MyCheckbox into a grid?
Message
From
25/01/2008 09:46:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/01/2008 09:26:07
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01285496
Message ID:
01285505
Views:
24
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
Previous
Reply
Map
View

Click here to load this message in the networking platform