GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eighteen — DataView Integration (continued)
Overview
The on_context_menu event is called when the user either right clicks or presses the windows context menu key.
Syntax/Parameters
Syntax
void on_context_menu ( int m_sx, int m_sy, int row, int column ) { ... }
Parameters
m_x
An int as the x mouse position or best position for menu presentation in screen coordinates.
m_y
An int as the y mouse position or best position for menu presentation in screen coordinates.
row
An int as the current row position of the caret.
column
An int as the current column position of the caret.
Return Value
No return value.
Remarks
The hook gives the attached script the opportunity to present a context menu. The mouse position (or cell) is presented in screen coordinate and the position of the cell with the caret is also provided.
If the Context Menu key is pressed, Data or Forms view will calculate the lower right position of the cell with the caret and present that to the hook.
Related Events & Functions
Page revised 2024-10-21
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.