Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8757823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:23:43+00:00 2026-06-13T14:23:43+00:00

I use a piece of code like this to show an alert using the

  • 0

I use a piece of code like this to show an alert using the TdxAlertWindowManager.
This gives me one alert window and in this window there are several messages.
What I would like to do is to show an alert window with the first line of text and on the same window I would like to put a new text.
The program is used to connect a computer to some network shares and the message I would like to put looks like:

Connecting drive y: to \\server\foldery
Connecting drive x: to \\server\folderx

and so on for the rest of the shares.
But I can’t figure out how to do it with TdxAlertWindowManager

Some years ago when I made the program I used nxAlert from Berg software, but I don’t have it available any more. On that it was no problem to do this.

if fAlertWindow = nil then
  dxAlertWindowManager.Show(sHpAlertCaption, AlertText, fIndex).Tag := 1
else
  begin
    fAlertWindow.MessageList.Add(sHpAlertCaption, AlertText, fIndex);
    fAlertWindow.RestartDisplayTimer;
  end;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:23:44+00:00Added an answer on June 13, 2026 at 2:23 pm

    I don’t know how to make TdxAlerWindowManager to display new line but I know how to alter current messages. Just edit Items[0] property of the MessageList. I do it in timer.

    var
    fAlertWindow: TdxAlertWindow;
    
    procedure TFMain.Timer1Timer(Sender: TObject);
    begin
      fAlertWindow := dxAlertWindowManager1.Show('Caption', 'Hello1');
      Timer1.Enabled := False;
    end;
    
    procedure TFMain.Timer2Timer(Sender: TObject);
    begin
      fAlertWindow.BeginUpdate;
      fAlertWindow.MessageList.Items[0].Text := 'Hello2';
      fAlertWindow.EndUpdate;
      Timer2.Enabled := False;
    end;
    

    Works 100%

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A common piece of code I use for simple string splitting looks like this:
I use this piece of code (found on stackoverflow) to generate an OrderBy static
I'm trying to build multilangual site. I use this piece of code to detect
With a piece of code like this, the compiler complains on c.MyProperty : MyClass
I have a piece of code like this def filter(t: String) : Boolean =
I have a piece of code like this try { RegistryKey regKey = Registry.LocalMachine.CreateSubKey(SOFTWARE\\xxxx\\yyyyy);
If I have a piece of code that looks like this: - (void)testSomething {
the following piece of code works fine when i use it among some code
I've inherited a piece of code that makes intensive use of String -> byte[]
I have a small piece of code that I use to keep track of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.