Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid with checkboxes
Message
 
 
To
16/04/2012 10:19:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01541643
Message ID:
01541645
Views:
52
Column.Sparse = .F.
>
>Ok, decided to do the whole checkbox in a grid thing. And then the customer decides they want a 'Yes' and a 'No' Checkbox. Ok, says I, no problem; so of COURSE there's a problem.
>
>I'm defining the grid in the Load of the Form with AddObject(), and defining the checkboxes as follows:
>
>
>      .Top = 47
>      .Left = 17
>      .Height = 17
>      .Width = 60
>      .FontSize = 10
>      .Picture = "Uncheck.bmp"
>      .DownPicture = "check.bmp"
>      .Alignment = 0
>      .Caption = ""
>      .Style = 1
>      .BackColor = Rgb(212,208,200)
>      .ReadOnly = .F.
>      .Name = "Check1"
>
>
>The first checkbox show up just fine and dandy. The second shows only on the current row and as soon as you move off that row, the checkbox disappears. What am I doing wrong?
>
>Thanks
>D
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform