PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD17: Add Checkbox column in Table Control
WD17: Add Checkbox column in Table Control
Iniciado por Raymond Thomas, 03,jun. 2013 15:52 - 5 respuestas
Publicado el 03,junio 2013 - 15:52
I use the following command to fill a table from a query programmatically:

BuildBrowsingTable(myTABLE, myQuery, taFillTable)

I would like to add a checkbox column to this table (first column) so that the user can select one or more rows. The selected rows will then be used for some other processes.

Is this possible, if so please point me in the right direction.

Many thanks
Ray
Publicado el 03,junio 2013 - 16:19
OK I have found under the Style option of the table control that you can choose to display the "Row Selector" element. It seems to be just a button control which is fine for my purposes.
Publicado el 03,junio 2013 - 17:10
Hi

You can select a check box to be displayed in every row. In the 7 tab select the column. In the colum you can specify if it is tekst or date etc , checkbox is one of them. 1 is checked 0 isnot checked
Publicado el 28,agosto 2019 - 16:03
if you want to create a new colum as checkbox type, you can use this

col1 is Control <- ControlCreate("TABLE_Cliente.COL1", typCheckBox)
{"TABLE_Cliente.COL1"}..Caption = "Example"
Miembro registrado
19 mensajes
Publicado el 14,septiembre 2019 - 17:59
Allard's solution is the easiest within the WINDEV environment. From there, use a button/buttons where the CODE of the button will contain instructions as to what should happen with a checked box (again 1 being value checked, 0 value not checked

--
Vincent D Crosby
Publicado el 17,septiembre 2019 - 14:05
have you read "PROGRAMMATICALLY" ?