Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying items in Gridbox controls
Message
From
02/05/1997 09:09:43
 
 
To
02/05/1997 08:55:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00030591
Message ID:
00030593
Views:
39
>I am using a grid control to display values from a table.
>The grid has 5 columns. The first one contains a container class which has a checkbox control. The next three columns contain table data. The last one is used to display a string which appears only when the checkbox in the first column is selected.
>
>The problem is that when I check a checkbox, the string does not always appear in the corresponding text field in the fifth column. I have tried setting the sparse property of the fifth column but this usually results in the string being displayed in all the textfields in the column when I select the checkbox. When I deselect the checkbox all the strings disappear in the column.

I guess the problem is ControlSource of the fifth column. It looks that it should be some expression depending on logical value of the first? field. This case it should work, the only thing that you should refresh grid, column or textbox5 in Checkbox.valid.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform