Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use an Editbox in a grid?
Message
From
01/07/2003 17:57:13
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
To
01/07/2003 14:32:45
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00805774
Message ID:
00805864
Views:
32
Unless there is some compelling reason to actually have the EditBox in the Grid, I would just add the EditBox to the Form (on the same page as the Grid ... below it, for example).

If you set the ControlSource of the EditBox to "alias.field", and .refresh() the EditBox in the .AfterRow(Col)Change event of the Grid, the contents of the EditBox will reflect the contents of the current row as the User navigates between the rows of the Grid. You then don't have to play with column Widths or Heights. In general, I find it makes the Form look better too.

>Hi All:
>
>I would like to use the editbox instead of the default textbox in just one column of a 3 column grid. The reasons for this is that I would like to avoid horizontal scrolling for the user to see the information they need to, therefore a editbox in a gird makes sense.
>
>Any suggestions? Thank you in advance for your kind assistance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform