Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread MessageDlg doesn't autosize
Fri, Dec 9 2011 10:46 AMPermanent Link

Walter Matte

Tactical Business Corporation


The caption, prompt and buttons are cut off, it appears the dialog is a fix width.

Am I doing something wrong?


procedure TForm2.Button1Click(Sender: TObject);
var
  TempButtons: TMsgDlgBtns=[mbOk,mbYes,mbNo];
begin                                                                                                  

 Application.Desktop.MessageDlg('Test Prompt Here:','Test Caption Here', mtInformation, TempButtons, mbOk);

end;


Walter
Fri, Dec 9 2011 5:28 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Walter,

<< The caption, prompt and buttons are cut off, it appears the dialog is a
fix width. >>

It resizes based upon the text - I need to add code to check the button
widths also.

--
Tim Young
Elevate Software
www.elevatesoft.com
Image