Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TAdvTouchKeyBoard
How to calculate precisely where the TAdvPopUpTouchKeyBoard will appear

You can see the code how the coordinates are automatically calculated in the source code of ADVTOUCHKEYBOARD.PAS under procedure TAdvPopupTouchKeyBoard.TimerProc(Sender: TObject);
The function GetWindowRect(wnd,r); gets the coordinates of the active edit control and this is used to position the keyboard.