Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo in grid doesn't show value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01519540
Message ID:
01519633
Vues:
16
>>Boris!!!!!!!!!
>>
>>:(((((((((((((
>>
>>This is another page - the first combo in first row appears blank :((((((((((((
>>
>>
>>with thisform.pageframe1.pagPrefEdit.grdPreferences
>>    .visible = .t.
>>   .recordsource = "rsSPPrefs"
>>   .rowheight    = 24
>>   .highlightstyle = 0
>>   .highlightrowlinewidth = 3
>>   *     .HighlightBackColor    = lnRowHighlightColor
>>   *     .SelectedItemBackColor = lnSelectionHighlightColor
>>   *     .HighlightForeColor    = rgb(255, 255, 255)
>>   .Column2.ControlSource = 'rsSPPrefs.Group_No'
>>   .column2.addobject("Combo1", "ComboBox")
>>   .column2.Combo1.rowsourcetype = 3
>>   .column2.Combo1.rowsource = "select Descrip, Group_No from csrSPGroups into cursor cTemp2 nofilter" 
>>   .column2.Combo1.boundcolumn = 2
>>   .column2.Combo1.boundto = .t.
>>
>>   .column2.Combo1.margin = 1
>>   .column2.Combo1.fontsize = 8
>>   .column2.Combo1.height = 24
>>   .column2.Combo1.visible = .t.
>>   .column2.Combo1.style = 2
>>   .column2.currentcontrol = "Combo1"
>>endwith
>>
>>Do you see what may be the problem?
>
>
>Sparse = .f.?

Yes. I'm going to change this grid to set the combo in design time instead. At least it works OK in other page (thanks to you) where I have it set in design-time.

I'll try the same in design-time now for this page also.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform