Jump to content

How to access the selected value of the ComboBox (dropped into a hidden panel) in the TUniDBGrid?


Recommended Posts

Posted

HI,

In a Delphi UniGUI project, when using a TUniDBGrid with a column set to use a TUniComboBox as a custom editor (in this case dblcCMECC which is inside a TUniHiddenPanel), the behavior of the ItemIndex may not be as expected, especially because the editor is dynamically "detached" and "attached" to the cell being edited.

If ItemIndex = -1, it means that the editor is not synchronized properly with the cell or that the value has not been explicitly set.

How to access the selected value of the ComboBox (dblcCMECC) in the TUniDBGrid?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...