// 选项1,2,3的响应事件
procedure TForm1.MenuItemClick(Sender: TObject);
begin
if ComboBox1.ItemIndex<>TMenuItem(Sender).MenuIndex then
ComboBox1.ItemIndex := TMenuItem(Sender).MenuIndex;
// 置灰Button1
if ComboBox1.ItemIndex=0 then
Button1.Enabled := False;
end;
// ComboBox1的OnClick事件,也可以用OnChange事件
procedure TForm1.ComboBox1Click(Sender: TObject);
begin
// mmiOption是你的菜单条上的选项
if not mmiOption.Items[ComboBox1.ItemIndex].Checked then
mmiOption.Items[ComboBox1.ItemIndex].Checked := True;
// 置灰Button1
if ComboBox1.ItemIndex=0 then
Button1.Enabled := False;
end;