FrançaisEnglishEspañol
PC SOFTForums homeLast messagesOnline repository
PC SOFT
Find...
Perform the searchSearch in...
Newsgroup dedicated to WINDEV (current version), in English
Clickable CheckBox
Jan., 07th 2010 at 06:51 AM
Mujahid
<gu...st@news.pcsoft.fr>


Hello everybody, I have some problem as below:
The Checkbox is a header and will be function depends on the tableline. One of the tableline column have a checkbox control.
Result need:
If one of the tableline row contain [color=#00CCFF]True[/color] checkbox, so the header check box can be function [color=#00CCFF]True[/color] or [color=#00CCFF]False[/color] (1 or 0) >> the checkbox can be clickable.
But if all the tableline row have no [color=#00CCFF]True[/color] checkbox column, so the header checkbox is [color=#00CCFF]False[/color] and cannot be clickable. If click will be [color=#00CCFF]False[/color] only.
How to program it... Thanks a lot


Replies to this message:
Re: Clickable CheckBox
Thanks Carlo Hermus... It is successfull.. Type this code at "When Modified of Win_SOrder" [color=#0033CC]IF TABLE_SOLine.COL_Stockable [rowCount] > 0 THEN ELSE CBOX_DOCbox = False END[/color] Tha ...
From Mujahid - Jan., 07th 2010 - More »
Re: Clickable CheckBox
Thanks for your feedback. Im using windev and it is a memory table. Carlo Hermus : Im type your code at the "When Modified of CBox_Docbox" as below IF TABLE_SOLine.COL_Stockable [rowCount] > 0 THEN ...
From Mujahid - Jan., 07th 2010 - More »
Re: Clickable CheckBox
Mujahid, If you are talking about Windev then you can use the count function of the table and define it in the details of the colomn. When there are no checkboxes checked the counter is 0 when there a ...
From Carlo Hermus - Jan., 07th 2010 - More »
Re: Clickable CheckBox
Hi Mujahid - Windev or webdev ? - What type of table? Memory, linked to a file, linked to a file loaded in memory, linked to a query ? Ajax? not Ajax with a pager? without the answer to those question ...
From Fabrice Harari - Jan., 07th 2010 - More »