[Lazarus] a consult about Tdbf
hector fiandor
hfiandor at infomed.sld.cu
Thu Mar 3 23:37:18 CET 2011
Dear List:
i am working with Tdbf and i want to fix in a DBEdit control the words Yes
or No.
If i do it typing "yes" or "no", no problem, the DBEdit control interprets a
change and the Navigator bar become Active an i can "post".
but i want to do it clicking over the DBEdit.
i have implemented in the DBEditClick event this procedure
begin
if DBEdit.text='yes' then DBEdit.text:='No'
else
if DBEdit.text='No' or DBEdit.text='' then DBEdit.text:='Yes';
end;
and the DBEdit control remain with the original field value and the
Navigator bar dont get Active.
thanks in advance,
yours,
Ing. Héctor F. Fiandor Rosario
hfiandor at infomed.sld.cu
--
Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas
Infomed: http://www.sld.cu/
More information about the Lazarus
mailing list