Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

DataControlGetClickData Function

Overview

The DataControlGetClickData function returns the information from the last cell position clicked.

Syntax/Parameters

Syntax

int [] = DataControlGetClickData ( int id );

Parameters

id

An int containing the control ID of the data control.

Return Value

Returns an int array of elements with click position information or an empty array on failure.

Remarks

The DataControlGetClickData function from the DataControlGetClickPosition function in that the entirety of click information is returned. If the control has never been clicked on, the returned data will be zeros.

The following information is returned:

  Key Name   Description  
  message   Last message (WM_ code)  
  cc   Click count.  
  mc_x   Mouse X position in client coordinates.  
  mc_y   Mouse Y position in client coordinates.  
  ms_x   Mouse X position in screen coordinates.  
  ms_y   Mouse Y position in screen coordinates.  
  r_x   Row  
  c_x   Column  
  sk_flag   Boolean Shift key flag.  
  ck_flag   Boolean Control key flag.  
  ak_flag   Boolean Alt key flag.  

 

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic