当前位置:网站首页>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


边栏推荐
- Detailed explanation of audience characteristics
- 水管工遊戲
- [从零开始学习FPGA编程-21]:进阶篇 - 架构 - VerilogHDL编码规范
- redis
- Quickly set the computer to turn off automatically
- 移动IPv6光猫登录的一般ip地址账号与密码,移动光猫变桥接模式
- Wildcard usage of go standard library FMT
- Detailed understanding of white noise
- 如何通过受众群体定位解决实际问题?
- [MathType] use MathType to output latex style formula
猜你喜欢

How to solve the problems when using TV focusable to package APK in uni app
![[MathType] use MathType to output latex style formula](/img/46/ac2041fbc2eb90474e2e2d7d1b0a40.png)
[MathType] use MathType to output latex style formula

Traversal of binary tree - first order traversal, middle order traversal, and second order traversal

Sonarqube local installation

机器学习基础 SVM(支持向量机)

pringboot之restfull接口规范注解(二)

项目实训(十七)---个人工作总结

Detailed explanation of maxpooling corresponding to conv1d, conv2d and conv3d machines of tensorflow2

numpy多维数组转置transpose

Network communication tcp/ip
随机推荐
[wsl2]wsl2 migrate virtual disk file ext4 vhdx
Spit bubbles (stack)
Super complete regular expressions
MySQL ---- where后使用字段别名
Detailed understanding of white noise
[MySQL password management] - [administrator password known, unknown (forgotten), cracked]
一种不带CPU的DPU架构:Hyperion
[learn FPGA programming from scratch -21]: Advanced - Architecture - VerilogHDL coding specification
Stm32 3*3 matrix key (register version)
Should the audience choose observation mode or positioning mode?
Machine learning basic SVM (support vector machine)
Introduction to ROS runtime
Audiences with similar interests
项目实训(十七)---个人工作总结
受众群体应该选择观察模式还是定位模式?
什么是立体角
Copy (copy) constructors and assignment overloaded operators=
Implementation and design of JMeter interface test database assertion for CSDN salary increase technology
ng-tv-focusable
dfs与bfs解决宝岛探险