As the OP's solution will no doubt be deleted shortly I'm posting my comment as a solution - given the thank you I presume it worked
Quote:
That doesn't look like any Delphi code I've seen - which granted isn't a huge amount. You are assigning 0 to combobox5.itemindex and then adding two Booleans?!?
Try ...
if combobox5.Itemindex = 0 then
Begin
combobox1.visible := true;
label3.visible := true;
End;