CHECKBOX EM READONLY

Post Reply
rasptty
Posts: 88
Joined: Sun May 25, 2008 5:46 pm

CHECKBOX EM READONLY

Post by rasptty »

Como colocar CHECKBOX em readonly
User avatar
wmormar
Posts: 1050
Joined: Fri Oct 07, 2005 10:41 pm
Location: México
Contact:

Re: CHECKBOX EM READONLY

Post by wmormar »

rasptty wrote:Como colocar CHECKBOX em readonly
REDEFINE CHECKBOX oCheck ID 101 OF oDlg
oCheck:disable()
William, Morales
Saludos

méxico.sureste
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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

REDEFINE CHECKBOX oCheck ID 101 OF oDlg 

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

Antonio Linares
www.fivetechsoft.com
Post Reply