Stemon63 Posted January 9, 2019 Share Posted January 9, 2019 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 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 9, 2019 Share Posted January 9, 2019 Hi, Have you seen this demo?: \FMSoft\Framework\uniGUI\Demos\Desktop\GridContextMenu Quote Link to comment Share on other sites More sharing options...
Stemon63 Posted January 9, 2019 Author Share Posted January 9, 2019 Yes, Sherzod. But I need ExtJs code for extract x,y on keydown (or function key press) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 9, 2019 Share Posted January 9, 2019 Can you please explain for what purpose do you want to use it? Quote Link to comment Share on other sites More sharing options...
Stemon63 Posted January 9, 2019 Author Share Posted January 9, 2019 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). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.