Article

From:
To:
mattk
Subject:
Re: TColorDialog caption
Newsgroup:
borland.public.delphi.language.objectpascal

Re: TColorDialog caption

"mattk" <mattkreuter@kmc-controls> wrote:

>I am using TColorDialog.  I would like to be able to change the caption so
>the user has some clue as to what they are doing .....
>Is there a way to change the caption on this ?
>ColorDialog1.Caption := 'test'; // does not work ....

TColorDialog has an evbent handler called OnShow. In there, write:

  with Sender as TColorDialog do     SendMessage(Handle, WM_SETTEXT, 0, Longint(PChar('test);
Good luck.
Kurt
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Fri, 22 Nov 2024 20:21:15 UTC
Copyright © 2009-2024
HREF Tools Corp.