CHECKBOX EM READONLY

CHECKBOX EM READONLY

Postby rasptty » Thu Sep 11, 2008 10:25 am

Como colocar CHECKBOX em readonly
rasptty
 
Posts: 88
Joined: Sun May 25, 2008 5:46 pm

Re: CHECKBOX EM READONLY

Postby wmormar » 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
User avatar
wmormar
 
Posts: 1074
Joined: Fri Oct 07, 2005 10:41 pm
Location: México

Postby Antonio Linares » 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:
Code: Select all  Expand view  RUN
REDEFINE CHECKBOX oCheck ID 101 OF oDlg

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 64 guests