CHECKBOX MODIFY

Post Reply
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

CHECKBOX MODIFY

Post by Ollie »

I can:

REDEFINE GET oDBF:Sometext ID 4066 OF oDLG UPDATE NO MODIFY

but, I can't

REDEFINE CHECKBOX oDBF:IsaGift ID 4067 OF oDLG UPDATE NO MODIFY

(There is no 'NO MODIFY' clause to make the checkbox 'readonly'.)

Is there a way around this?
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Post by Gale FORd »

Local oCheck

REDEFINE CHECKBOX oCheck VAR oDBF:IsaGift ;
ID 4067 OF oDLG UPDATE

oCheck:disable()
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Post by Ollie »

Thanks Gale.
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Or

Code: Select all

REDEFINE CHECKBOX oCheck VAR oDBF:IsaGift ;
ID 4067 OF oDLG UPDATE WHEN .F.
EMG
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Post by Ollie »

Many thanks EMG, your solution is clean, I was dreading having to create all those LOCAL variables.

Super!
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Post Reply