Opening the Control Panel with Delphi Programming

Use the code below to open the Control Panel of your Delphi program. Do not forget tampahkan ShellApi on the uses:

procedure TForm1.Buton1Click(Sender : TObject);

1.      begin

2.           ShellExecute(Handle,'Open','control',

3.           nil,nil,SW_SHOWNORMAL);

4.      end;