Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBoxes in Grids
Message
From
24/08/1999 14:39:15
 
 
To
24/08/1999 14:12:14
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00257032
Message ID:
00257240
Views:
24
>
>ADD OBJECT grid1 AS grid WITH ;
> ColumnCount = 1, ;
> DeleteMark = .F., ;
> Height = 200, ;
> Left = 27, ;
> Panel = 1, ;
> Top = 40, ;
> Width = 320, ;
> Name = "Grid1", ;
> Column1.Width = 264, ;
> Column1.Name = "Column1"
>

>ADD OBJECT form1.grid1.column1.combo1 AS combobox WITH ;
> BoundColumn = 2, ;
> ColumnWidths = "50,0", ;
> RowSourceType = 6, ;
> RowSource = "Itty.cName,iId", ;
> ControlSource = "InvM.iTTyId", ;
> Height = 24, ;
> ColumnLines = .F., ;
> Left = 142, ;
> Top = 47, ;
> Width = 100, ;
> BoundTo = .T., ;
> Name = "Combo1"

Excuse me, Rex, I can't seek statement like
Column1.CurrentControl = "Combo1"!

You are add Combo control in column, but current control is still Text1 by default. Sorry my importunity, but check Column1.CurrentControl setting.
Regards,
Dmitri Alexandrov
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform