Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid, Container, & Sparse = .t.
Message
From
14/10/1997 00:19:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grid, Container, & Sparse = .t.
Miscellaneous
Thread ID:
00054405
Message ID:
00054405
Views:
84
Maybe I'm missing something. I've got a grid with a container in a column (the container contains a textbox with controlsource set to a date field, and a command button which activates a calendar). I've got the column set for sparse = .t., with controlsource for the column set to the date field, but bound set to .f., since the control in the container has control. What happens is that the container works fine (well, GOTFOCUS doesn't fire, but MS has an KB bug article about that), but when focus is shifted off a row, that column comes up blank, not displaying the date. I tried setting the controlsource for the column to dtoc() with no luck.

Is using DynamicCurrentControl to change controls the only way to have a container in a grid column as CurrentControl, and have a plain textbox show when focus is not on a row?

TIA,

Hank
Reply
Map
View

Click here to load this message in the networking platform