Conversation

TColorDialog caption

(overview of excerpts from articles in conversation)

Newsgroup: borland.public.delphi.language.objectpascal

# Lines
wrote on 14-Jan-2003:

Hello,
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 ....
9
  
kbarthelmess@compuserve.com replied on 14-Jan-2003:

"mattk" wrote:
  (snip)

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.
16
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Fri, 22 Nov 2024 15:14:33 UTC
Copyright © 2009-2024
HREF Tools Corp.