[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 594: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 650: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
Fórum Xmaker • Propriedade Enable
Página 1 de 1

Propriedade Enable

Enviado: Abril 26th, 2012, 10:46 am
por dmfilho
Como utilizo a propriedade Enable em tempo de execução?

Exemplo: Estou realizando o cadastro/alteração de um documento.
Caso exista o campo "número do documento" eu entro na data do documento. Caso não exista o campo "número do documento" eu não entro na data do documento.

O teste de condição eu já fiz, estou com problemas para setar o ENABLE como false ou true.

Desde já agradeço.

Daniel Montello Filho

Re: Propriedade Enable

Enviado: Abril 26th, 2012, 11:04 am
por Gustavo
Olá,

Coloque assim:

NomedoCampo.enabled := true;
NomedoCampo.enabled := false;