Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox in a grid.
Message
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00717565
Message ID:
00717660
Views:
12
Shawn,

More typically people put a combobox in the grid, a listbox would make you have to have a very tall row height.

To put a cbo in the grid, select the textbox in the grid via the property sheet, click the form designer window titlebar, press the delete key. Then you can drop a cbo from the forms toolbar into the grid to replace the textbox. Set the column.Sparse = .f.

The cbo should have either an array or a none for it's RowSourceType.

>Hi. I was wondering if there is a way to put a listbox in a grid cell, to restrict input in the field. Any help would be appreciated.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform