Creating a FireMonkey Component (Delphi)

From RAD Studio
Jump to: navigation, search

Go Up to FireMonkey Components Guide


Example: Dialog Button Panel

Both Windows and macOS promote interface guidelines, which include the order and placement of standard Do/Don't/Cancel buttons in dialog boxes. The guidelines for these two platforms are slightly different. A common example is a Save dialog box with "Save", "Don't Save", and "Cancel" as the choices. The TDialogButtonPanel custom component that is created here encapsulates those differences with platform-specific style files, included as RCDATA.

These are the steps:

See Also