Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TAdvAlertWindow
How to set the position of the TAdvAlertwindow
How to set the position of the TAdvAlertwindow
You can do this by using AdvAlertwindow.PopupLeft, AdvAlertwindow.PopupTop and set AdvAlertWindow.WindowPosition := wpPreset;
Sample code:
procedure TForm4.Button1Click(Sender: TObject); begin advalertwindow1.PopupLeft := 20; advalertwindow1.PopupTop := 20; AdvAlertWindow1.AlertMessages.Add.Text.Text := ''Hello world''; AdvAlertWindow1.WindowPosition := wpPreset; AdvAlertWindow1.Show; end;