FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC CHECKBOX EM READONLY
Posts: 88
Joined: Sun May 25, 2008 05:46 PM
CHECKBOX EM READONLY
Posted: Thu Sep 11, 2008 10:25 AM

Como colocar CHECKBOX em readonly

Posts: 1076
Joined: Fri Oct 07, 2005 10:41 PM
Re: CHECKBOX EM READONLY
Posted: Thu Sep 11, 2008 11:06 AM
rasptty wrote:Como colocar CHECKBOX em readonly


REDEFINE CHECKBOX oCheck ID 101 OF oDlg
oCheck:disable()
William, Morales

Saludos



méxico.sureste
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
CHECKBOX EM READONLY
Posted: Thu Sep 11, 2008 11:29 AM
You have to call to Disable(), as William has explained you, but do it from the ON INIT clause of the dialog, as from that moment the control has a valid Windows handle:
REDEFINE CHECKBOX oCheck ID 101 OF oDlg 

ACTIVATE DIALOG oDlg ;
   ON INIT oCheck:disable()
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion