参考官方例子: C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\Property Grid
主要属性:
procedure TMainForm.UniComboBox1Change(Sender: TObject); var componentName:string; begin componentName := UniComboBox1.Items[UniComboBox1.ItemIndex]; UniPropertyGrid1.AttachedComponent := MainForm.FindComponent(componentName); end;