checkbox problem

Post Reply
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

checkbox problem

Post by Silvio.Falconi »

I have a checkbox and I wish change the state

lVALUE:= .F.

@ 3, 3 CHECKBOX oChk VAR lVALUE PROMPT "&TEST " SIZE 300, 20 OF oDlg ;
ON CHANGE (lVALUE:=!lVALUE) UPDATE

if I click on checkbox it is activated , if I repeat the click it doesn't change the state
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: checkbox problem

Post by nageswaragunupudi »

Code: Select all | Expand

ON CHANGE (lVALUE:=!lVALUE)

Remove it.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 7133
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: checkbox problem

Post by Silvio.Falconi »

thanks
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Post Reply