Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox display problems when having focus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00744542
Message ID:
00744570
Vues:
29
This message has been marked as the solution to the initial question of the thread.
It's known issue for combobox bound to numeric field with RowSourceType 2-Alias or 6-Fields and Sparse=.F.. You can workaround it by changing RowSourceType to something else than 2-Alias or 6-Fields. You can use 3-SQL or 5-Array, for example.


>Got a cbo in a grid that when having focus, won't show underlying value. Move off of it (to other controls elsewhere or even the cell below it but same column) and it then shows fine....but the activecell value seems hidden. I encountered this a long time ago but can't recall the fix.
>
>Here's the object's details (from class browser) to add light if it helps:
>
>ADD OBJECT frmcrap.pgforders.pagdetails.grddetails.item.cboitem AS cbobase WITH ;
>FontSize = 9, ;
>BoundColumn = 2, ;
>ColumnCount = 3, ;
>ColumnWidths = "100,0,250", ;
>RowSourceType = 2, ;
>RowSource = "MyProducts.name,productid,description", ;
>ControlSource = "vuOrderDtl.productid", ;
>Height = 23, ;
>ColumnLines = .F., ;
>Left = 227, ;
>Style = 2, ;
>Top = 139, ;
>Visible = .T., ;
>Width = 80, ;
>BorderStyle = 0, ;
>BoundTo = .T., ;
>Name = "cboItem"
>
>Any ideas as to what's wrong? TIA,
>--Michael
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform