Jump to content

Retrieve absolute x,y from an editor in DBgrid


Stemon63

Recommended Posts

Hi, I need to known how to retrieve absolute position of a active editor in a Dbgrid.
The editor is on the hidden panel, is a custom dblookup with a grid in the popup (a panel).
When editor is  selected, how I can Know absolute x,y (on the screen) for show its popup?
Thanks in advance

Link to comment
Share on other sites

I want to show a dbgrid as a popup when i press F9 in the editor, for an assisted input (incremental search);
As a standalone editor all works well; x,y are relative to the editor.

When the editor is embedded in a DBgrid, the editor is in a cell; I need to say what is x,y for show the popup (with dbgrid inside) under the editor (like a combobox).

 

Link to comment
Share on other sites

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...