Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Center Checkbox in a Grid
Message
From
28/12/2001 06:57:38
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
28/12/2001 06:50:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00598706
Message ID:
00598711
Views:
33
This message has been marked as the solution to the initial question of the thread.
Greg how did you add the check to the container was in design time e.g. add the container to the column and then add the checkbox to the container if this was the case make sure that the checkbox is in the container and not in the column.

>Alexandre,
>I changed the columns Bound property to .f. but still recieve an error at runtime saying "Property check1 not found". Any other thoughts on what I'm missing?
>
>Many thanks,
>Greg
>
>>Hi Greg you need to put the Bound property of the column to .f.
>>
>>>Cetin,
>>>
>>>I'm trying to center a checkbox in a grid....I must be missing something on how to add the container and checkbox to the grid. One way and I get an error in the column.currentcontrol of "Expression evaluated to an illegal value". The other way, once I set the column.currentcontrol to the container, at runtime the checkbox is not found. What am I missing? Is there a special way of adding the checkbox to the container and then to the grid ??
>>>
>>>In the grid.init I have:
>>>with this.column6
>>> .container1.check1.controlsource=.controlsource
>>>endwith
>>>
>>>In the container.init I have:
>>>with this.check1
>>> .Left=(this.parent.width-.width)/2
>>>endwith
>>>
>>>Many thanks,
>>>Greg
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform