Jump to content
uniGUI Discussion Forums
Sign in to follow this  
Stemon63

Retrieve absolute x,y from an editor in DBgrid

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

Share this post


Link to post
Share on other sites

Hi,

Have you seen this demo?:

\FMSoft\Framework\uniGUI\Demos\Desktop\GridContextMenu

 

Share this post


Link to post
Share on other sites

Yes, Sherzod.

But I need ExtJs code for extract x,y on keydown (or function key press)

Share this post


Link to post
Share on other sites

Can you please explain for what purpose do you want to use it? 

Share this post


Link to post
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).

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×