Ver Mensaje Individual
  #2  
Antiguo 21-06-2008
pcicom pcicom is offline
Miembro
 
Registrado: may 2003
Ubicación: MONTERREY MEXICO
Posts: 253
Reputación: 24
pcicom Va por buen camino
claro que yes.. pero te convendria mejor del combo un CheckListBox..

Código Delphi [-]
procedure TForm1.FormCreate(Sender: TObject);
begin

   CheckListBox1.Items.Add('PERAS');
   CheckListBox1.Items.Add('MANZANAS');
   CheckListBox1.Items.Add('UVAS');

end;

procedure TForm1.BitBtn1Click(Sender: TObject);
Var i:integer;
begin


   For i:= 0 to CheckListBox1.count -1 do
   begin
      if CheckListBox1.Checked[i] then
      begin
         if CheckListBox1.Items.Strings[i]='PERAS' then peras
         if CheckListBox1.Items.Strings[i]='MANZANAS' then manzanas
         if CheckListBox1.Items.Strings[i]='UVAS' then uvas
      end;
   end;

end;

procedute TForm1.Peras;
begin
   //Tu Codigo
end;
procedure TForm1.Manzanas;
begin
   //Tu Codigo
end;

procedure TForm1.Uvas
begin
   //Tu Codigo
end;


Ufff.........
__________________
Poco ha de saber el que no pregunta.. Yo por eso soy un pregunton
Responder Con Cita