Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox display problems when having focus
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00744542
Message ID:
00744570
Views:
18
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform