Combobox

miiiiidou19 Messages postés 8 Date d'inscription lundi 22 mars 2010 Statut Membre Dernière intervention 11 mai 2010 - 10 avril 2010 à 18:12
miiiiidou19 Messages postés 8 Date d'inscription lundi 22 mars 2010 Statut Membre Dernière intervention 11 mai 2010 - 11 avril 2010 à 23:25
merci a tous pour l'aide que vous m'avez donné
ma question est comment masquer un edit a partir d'un combobox

2 réponses

ThWilliam Messages postés 418 Date d'inscription mardi 3 janvier 2006 Statut Membre Dernière intervention 26 novembre 2013 4
10 avril 2010 à 19:57
Un exemple : lorsque l'item d'indice 2 est sélectionné, le TEdit devient invisible :

procedure TForm1.ComboBox1Change(Sender: TObject);
begin
    Edit1.Visible:not(ComboBox1.ItemIndex 2);
end;


A +
Thierry
0
miiiiidou19 Messages postés 8 Date d'inscription lundi 22 mars 2010 Statut Membre Dernière intervention 11 mai 2010
11 avril 2010 à 23:25
merci trés fort
vous avez bien m'aidé ThWilliam
0
Rejoignez-nous