Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COMBOBOX in GRID
Message
From
21/07/1999 01:46:46
 
 
To
09/07/1999 14:21:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00239559
Message ID:
00244006
Views:
18
Edward

I have had problems with Combos in a Grid, the combos didn´t show me the current record values properly, besides other
problems. I tried different methods, and finally i changed only the next properties in the combo :


ColumnCount = 3
ColumnWidths = 52,300,50
ControlSource = PVITEM.IT_ITEM && Child record Key
Enabled = .T.
FontSize = 8
Name = Combo1
NumeberOfElements = 0
RowSource = PVART.CO_CVE, CO_DESC, CO_PRICE && Detail of the child record, in another table
RowSourceType = 6-Fields

"no events involved as you can see" and even i can add some columns with the detail of my childs records, of course
i have to define the properly relationships between my tables in the dataenviroment.

In your case, if you are trying to change the content of your combo dinamically, you can try to change the previous
properties values in runtime, maybe in Combo.GotFocus() event.


" .. Whatever the route it eventually returns to him.. "
Whatever the route it eventually returns to him...
Previous
Reply
Map
View

Click here to load this message in the networking platform