Ver Mensaje Individual
  #1  
Antiguo 05-07-2008
Avatar de josi
josi josi is offline
Miembro
 
Registrado: feb 2008
Posts: 100
Reputación: 19
josi Va por buen camino
problema con if then

tengo dos botones y dos radiobutton y quiero que cuando el radio button este cheked me esconda unos de los botones


if RadioButton1.Checked:= true then
Button2.Visible:=false;

me da este error [Error] Unit5.pas(86): Type of expression must be BOOLEAN

y me señala esta liniea: 'if RadioButton1.Checked:= true then'

gracias.....
Responder Con Cita