I found this in the delphi help;
I needs to set the ActivePage to a specific tabsheet, how do I replace the (Items.Objects[ItemIndex]) with the name of the tabsheet I want active?
Thanks!
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!
Code:
procedure TForm1.ComboBox1Change(Sender: TObject);
begin
if (Sender is TComboBox) then
with (Sender as TComboBox) do
PageControl1.ActivePage := TTabSheet(Items.Objects[ItemIndex]);
end;
I needs to set the ActivePage to a specific tabsheet, how do I replace the (Items.Objects[ItemIndex]) with the name of the tabsheet I want active?
Thanks!
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!