当前位置:网站首页>Alertwindowmanager pop up prompt window help (Part 1)
Alertwindowmanager pop up prompt window help (Part 1)
2022-06-13 01:44:00 【Guoguo】
- LookAndFeel( Interface appearance ):
- NativeStyle: The localized interface is the built-in appearance of the real utility system
- SkinName: Localized interface (NativeStyle:) Set to false to use skin appearance
- OptionAnimate( Animation options ):
- AlphaBlendValue: Prompt window default transparency
- CollapseEmptySlots: Prompt window closing effect ,True After multiple prompt windows appear , The last thing that disappears is the falling effect ,False Disappear in the original position
- CollapseEmptySlotsAnimationTime: Prompt window closing animation duration
- SizeAdjustmentAnimationTime: Resize animation time
- ShowingAnimation: Display prompt window animation effect ,awaFade Fade in ,awaMove move ,awaNone No effect ,awaSlide Sideslip
- ShowingAnimationDirection: The prompt window shows the animation direction ,awmdAuto Automatically ,awmdDown Down ,awmdLeft towards the left ,awmdRight towards the right ,awmdUp Up
- ShowingAnimationTime: The prompt window shows the animation duration
- OptionsBehavior( Behavior choice ):
- CloseOnRightClick: Right click to close the prompt box
- DisplayTime: Prompt box duration
- ScreenSnap: Whether the prompt box is fixed ( Click the pushpin without closing the window )
- ScreenSnapBuffer:XXXX( I don't know how to translate , Screenshots and the like don't work ) Buffer size
OptionsButtons( Button options ):
Buttons: Button group , Double click to add a button , And add an image to the button (ImageIndex), And control whether to enable and display
Height: Button height
Width: Button width
Images: Assign picture groups (ImageList)
OptionsCaptionButtons( Title button ):
CaptionButtons.awcbDropdown: Whether to display the minimize button
CaptionButtons.awcbPin: Whether to display pushpin button
CaptionButtons.awcbClose: Is the close button displayed
OptionsMessage( Message options ):
Caption.AlignVert: The way the title is vertically aligned
Caption.AlignHorz: The title level affects its way
Caption.Font: Title font color and size
Text.AlignHorz: The message content level affects its way
Text.AlignVert: The message content is vertically aligned to its way
Text.Font: Message content font size and color settings
OptionsNavigationPanel( Navigation panel options ):
DisplayMask: Display format , for example : The first [MessageIndex] strip , common [MessageCount] strip ]
Visibility: How to display the navigation panel :awnpvAlways Always show ,awnpvAuto Automatically determine whether to display ,awnpvNever Never show
OptionsSize( Message box size ):
AutoHeight: Automatic altitude
AutoWidth: Automatic width
AutoSizeAdjustment
MaxHeight: Maximum height
MaxWidth: Maximum width
MinHeight: Minimum height
MinWidth: Minimum width
Height: Height
Width: Width
WindowPosition: Display prompt box location ,awpAuto auto display ,awpBottomLeft The bottom left of the screen ,awpBottomRight Bottom right of the screen ,awpTopLeft Top left of the screen ,awpTopRight Top right of screen
WindowMaxCount: The total number of message prompt boxes opened each time , When the total number is exceeded, close one and then display a new prompt window
Default display effect ( Default translucency , The translucent effect disappears when the mouse is moved in )
AlertWindowManager Pop up a prompt window to use help ( Next )
win32pro 2017-07-03 original text
- // Display message prompt box
- //function TdxAlertWindowManager.Show(const ACaption, AText: string; AImageIndex: TcxImageIndex = -1): TdxAlertWindow;
- //ACaption Show title
- //AText The message content
- //AImageIndex Show image index
- procedure TForm1.Button1Click(Sender: TObject);
- begin
- dxAlertWindowManager1.Show(' Message prompt box title ', ' Here is the message content , Here is the message content !');
- end;
- //dxAlertWindowManager Click the button event
- procedure TForm1.dxAlertWindowManager1ButtonClick(Sender: TObject; AAlertWindow: TdxAlertWindow; AButtonIndex: Integer);
- begin
- if AButtonIndex = then
- ShowMessage('Button1')
- else if AButtonIndex = then
- ShowMessage('Button2')
- else if AButtonIndex = then
- ShowMessage('Button3');
- end;
- procedure TForm1.Button1Click(Sender: TObject);
- begin
- dxAlertWindowManager1.Show(' Here is the title ',' Here is the content ');
- ShowMessage(IntToStr(
- // Get the number of currently open message boxes , After opening, add one to the quantity , Reduce the quantity by one after closing
- dxAlertWindowManager1.Count
- ));
- end;
- var
- AlertWindow: TdxAlertWindow;
- // Add a message
- procedure TForm1.btnAppMsgClick(Sender: TObject);
- begin
- AlertWindow.BeginUpdate;
- AlertWindow.MessageList.Add(' In my hometown ( Connect )', ' The face of hometown ' + ## + ' But it is like that general melancholy ' + ## + ' As if waving in the fog ', );
// Merge display with AlertWindow.MessageList.Add() Method
// If the message prompt box is displayed independently, use dxAlertWindowManager1.Show() Method - AlertWindow.EndUpdate;
- end;
- // Display a message , And set the height and width adaptation
- procedure TForm1.btnShowMsgClick(Sender: TObject);
- begin
- dxAlertWindowManager1.OptionsSize.AutoHeight := True;
- dxAlertWindowManager1.OptionsSize.AutoWidth := True;
- AlertWindow := dxAlertWindowManager1.Show(' In my hometown ', ' Home moon ' + ## + ' It's a blazing fire ' + ## + ' Always in the bleak night ' + ## + ' Release comfortable warmth ', );
- end;
The message display effect is as follows


边栏推荐
- PyFlink实现自定义SourceFunction
- Getting started with phaser 3
- [Andoid][踩坑]CTS 11_r3开始出现的testBootClassPathAndSystemServerClasspath_nonDuplicateClasses FAIL问题分析
- Startup, connection and stop of MySQL service
- Uuid/guid introduction, generation rules and generation codes
- STM32 3*3矩阵按键(寄存器版本)
- 受众群体应该选择观察模式还是定位模式?
- 一种不带CPU的DPU架构:Hyperion
- [从零开始学习FPGA编程-21]:进阶篇 - 架构 - VerilogHDL编码规范
- Three paradigms of database
猜你喜欢

五、库存查询功能的完善

服务器安装jupyterlab以及远程登录配置

My crawler learning notes

What is Google plus large text ads? How to use it?

What is solid angle

一种不带CPU的DPU架构:Hyperion

Summary of various installation methods of Lab View

Detailed understanding of white noise

How to solve the problems when using TV focusable to package APK in uni app

How to solve practical problems through audience positioning?
随机推荐
Delphi7 compressed pictures (BMP, JPG, PNG)
csdn涨薪技术之Jmeter接口测试数据库断言的实现与设计
Numpy multidimensional array transpose transpose
D template instance does not match declaration
Uuid/guid introduction, generation rules and generation codes
Network communication tcp/ip
Leetcode question 20
Magics 23.0如何激活和使用视图工具页的切片预览功能
A DPU architecture without CPU: Hyperion
如何通过受众群体定位解决实际问题?
The method of drawing rounded panel with Delphi
The first cell of devaxpress CXGRID after inserting a row is in focus editing status
What is Google plus large text ads? How to use it?
redis
Page optimization - Notes
Detailed understanding of white noise
Torch. Distributions. Normal
机器学习基础 SVM(支持向量机)
My crawler learning notes
[wsl2] restrict wsl2 accessible hardware resources (cpu/ memory)