CHECKBOX MODIFY

CHECKBOX MODIFY

Postby Ollie » Wed Jan 03, 2007 7:46 pm

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)
Ollie
 
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Postby Gale FORd » Wed Jan 03, 2007 7:59 pm

Local oCheck

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

oCheck:disable()
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Postby Ollie » Wed Jan 03, 2007 8:13 pm

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)
Ollie
 
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Postby Enrico Maria Giordano » Wed Jan 03, 2007 8:49 pm

Or

Code: Select all  Expand view  RUN
REDEFINE CHECKBOX oCheck VAR oDBF:IsaGift ;
ID 4067 OF oDLG UPDATE WHEN .F.


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Ollie » Wed Jan 03, 2007 9:28 pm

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)
Ollie
 
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am


Return to FiveWin for Harbour/xHarbour

Who is online

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