GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Nine — Dialog Functions (continued)
DataControlGetCellType Function
Overview
The DataControlGetCellType function gets the cell’s display type.
Syntax/Parameters
Syntax
int = DataControlGetCellType ( int id, int row, int column );
Parameters
id
An int containing the control ID of the data control.
row
A zero-based int specifying the row for the cell.
column
A zero-based int specifying the column for the cell.
Return Value
An int as the type code or a formatted error code on failure. Common error codes are as follows: ERROR_RANGE if id is an invalid control ID for the open dialog or ERROR_INVALID_HANDLE if no dialog is open.
Remarks
By default, cells are created as text type. The DataControlSetCellType allows the control type to be changed after the cell has been created.
Cell types are as follows:
Define | Value | Comment/Type | ||||
DS_CF_DISPLAY_TEXT | 0x00000000 | Text Cell (multiple, icons) | ||||
DS_CF_DISPLAY_CHECKBOX | 0x00000001 | Display Check Box | ||||
DS_CF_DISPLAY_CHECKBOX_AUTO | 0x00000002 | Display Check Box (auto) | ||||
DS_CF_DISPLAY_RADIO | 0x00000003 | Display Radio Button | ||||
DS_CF_DISPLAY_RADIO_AUTO | 0x00000004 | Display Radio Button (auto) | ||||
DS_CF_DISPLAY_PUSHBUTTON | 0x00000005 | Display Push Button | ||||
DS_CF_DISPLAY_PUSHBUTTON_TOGGLE | 0x00000006 | Display Push Button (auto) | ||||
DS_CF_DISPLAY_COMBOBOX | 0x00000007 | Display Combo Box Select | ||||
DS_CF_DISPLAY_COMBOBOX_EDIT | 0x00000008 | Display Combo Box and Edit† | ||||
DS_CF_DISPLAY_LISTBOX | 0x00000009 | Display List Box | ||||
DS_CF_DISPLAY_IMAGE | 0x0000000A | Display Image/Picture† | ||||
DS_CF_DISPLAY_V_SCROLL | 0x0000000B | Display Vertical Scroll† | ||||
DS_CF_DISPLAY_H_SCROLL | 0x0000000C | Display Horizontal Scroll† | ||||
DS_CF_DISPLAY_HTML | 0x0000000D | Display HTML | ||||
DS_CF_DISPLAY_NUMERIC | 0x0000000E | Display Numeric (original in edit) | ||||
DS_CF_DISPLAY_PROGRESS | 0x0000000F | Display As Progress† |
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
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.