Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBoxes in Grids
Message
De
24/08/1999 14:39:15
 
 
À
24/08/1999 14:12:14
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00257032
Message ID:
00257240
Vues:
25
>
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform