当前位置:网站首页>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
边栏推荐
- Stone from another mountain: Web3 investment territory of a16z
- How do you use your own data to achieve your marketing goals?
- 详细受众特征详细解释
- Explanation and application of prefix sum (one-dimensional, two-dimensional)
- 关于tkinter.Canvas 不显示图片的问题
- Jeux de plombiers
- DFS and BFS notes (II): depth first search (implemented in C language)
- Delphi7 compressed pictures (BMP, JPG, PNG)
- #pragma comment(lib,“urlmon.lib“)
- How to solve practical problems through audience positioning?
猜你喜欢
[andoid][step pit]cts 11_ Testbootclasspathandsystemserverclasspath at the beginning of R3_ Analysis of nonduplicateclasses fail
一种不带CPU的DPU架构:Hyperion
4、 Improvement of warehousing management function
MySQL download and installation
Run Presto under docker to access redis and Bi presentation
Use koa to mock data and set cross domain issues
A DPU architecture without CPU: Hyperion
机器学习基础 SVM(支持向量机)
How to solve practical problems through audience positioning?
项目实训(十七)---个人工作总结
随机推荐
dfs与bfs解决宝岛探险
5、 Improvement of inventory query function
路径字段是什么? ——竞价广告
Tweens of phaser3
How to solve the problems when using TV focusable to package APK in uni app
Add default right-click menu
TensorFlow2的Conv1D, Conv2D,Conv3D机器对应的MaxPooling详解
30: Kakfa simulates JSON data generation and transmission
pytorch : srcIndex < srcSelectDimSize
[从零开始学习FPGA编程-22]:进阶篇 - 架构 - FPGA内部硬件电路的设计与建模
[pytorch FAQ] numpy:dll load failed while importing_ multiarray_ Umath: the specified module could not be found.
Shell command notes
【软考】软件设计师知识点整理(待更新)
Crypto JS reports uglifyjs error
Introduction to common ROS commands
[wsl2]wsl2 migrate virtual disk file ext4 vhdx
Numpy multidimensional array transpose transpose
Golang context (context summary)
谷歌的智能出价有几种?
Golang inline mechanism & go development test