Unit 'MUIClass.Base' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#MUIClass]

TMUIApplication.OpenConfigWindow

Open application specific configuration window.

Declaration

Source position: MUIClass.Base.pas line 240

public procedure TMUIApplication.OpenConfigWindow;

Description

MUI applications can open their own MUI configuration window to allow users to adjust the local preferences without the need of an external program. Programmers are supposed to include a "Settings/MUI..." menu item which simply calls OpenConfigWindow(). MUI will then automatically show the preferences window without blocking the rest of the program.

Example:

procedure TMyWindow.ConfigMenu(Sender: Objectm
begin
  MUIApp.OpenConfigWindow();
end;

// somewhere in the Object creation
with TMUIMenuItem.Create do
begin
  Title := 'Settings/MUI...'; // the menu item text
  OnTrigger := @ConfigMenu;   // connect event handler
  Parent := Menu;             // put to the Menu
end;

Documentation generated on: 2024-11-21