From c7e775937e0fd958e052b2428bfcc0c95a802ddf Mon Sep 17 00:00:00 2001 From: dsiders Date: Sat, 12 Aug 2023 00:25:13 +0100 Subject: [PATCH] Docs: LCL/interfacebase. Adds missing topic content. (cherry picked from commit 5b4fd8713c420d88f4d365759ef06a733c19869c) --- docs/xml/lcl/interfacebase.xml | 81 +++++++++++++++++++++++++--------- 1 file changed, 60 insertions(+), 21 deletions(-) diff --git a/docs/xml/lcl/interfacebase.xml b/docs/xml/lcl/interfacebase.xml index 84c82d50bd..82e5cedf1f 100644 --- a/docs/xml/lcl/interfacebase.xml +++ b/docs/xml/lcl/interfacebase.xml @@ -7765,29 +7765,47 @@ False. - - + +Specifies a function called to display and execute a widgetset-independent +Question Mark dialog using the specified settings. + - + +Modal result value returned when the dialog is executed. + - + +Caption for the dialog. An empty string causes the default description for the +dialog type to be used. + - + +Text displayed as the main content on the dialog. Allows embedded end-of-line +sequences in the text. + - + +Integer constant which indicates the dialog type like idDialogWarning, +idDialogError, idDialogInfo, idDialogConfirm, or idDialogShield. + - + +Pointer to the address where the button identifiers for the dialog are +specified. + - + +Context identifier for help displayed using a Help button on the dialog. + @@ -7853,47 +7871,68 @@ Identifier for the cursor shape loaded in the routine. - - - + +Specifies a function called to load a named icon from a resource with the +specified handle. + + +

+TLoadIconFunction is the type used to implement the LoadIconFunction +procedure variable. An example implementation is provided in the LocalLoadIcon +function found in the implementation for the graphics.pp unit. +

+
Modified in LCL version 4.0 to use the TLCLHandle type instead of the deprecated THandle type in the hInstance parameter. - +TIcon.LoadFromResourceHandle TLCLHandle
- + +Handle for the icon created and loaded in the routine. + - + +Handle for the resource where the icon is located. + - + +PChar value which points to the resource name or identifier for the icon loaded +in the routine. + - - + +Procedure variable with the routine called to execute a platform-independent +input dialog. + - - + +Procedure variable with the routine called to execute a platform-independent +prompt dialog. + - - + +Procedure variable with the routine called to execute a platform-independent +dialog using the Question Mark icon. +