checkbox problem

checkbox problem

Postby Silvio.Falconi » Sat Apr 09, 2022 10:00 am

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
Silvio.Falconi
 
Posts: 7052
Joined: Thu Oct 18, 2012 7:17 pm

Re: checkbox problem

Postby nageswaragunupudi » Sat Apr 09, 2022 11:36 am

Code: Select all  Expand view
ON CHANGE (lVALUE:=!lVALUE)

Remove it.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10627
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: checkbox problem

Postby Silvio.Falconi » Mon Apr 11, 2022 9:39 am

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
User avatar
Silvio.Falconi
 
Posts: 7052
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 74 guests