Board index » delphi » Edit box selected text color
Didier Gasser-Morlay
![]() Delphi Developer |
Wed, 07 Jul 2004 07:11:34 GMT
|
Didier Gasser-Morlay
![]() Delphi Developer |
Wed, 07 Jul 2004 07:11:34 GMT
Edit box selected text color
Hi there,
Is there a way to change the selected text apperance (color & thanks in advance |
Martin De
![]() Delphi Developer |
Wed, 07 Jul 2004 07:49:15 GMT
Re:Edit box selected text colorsimply use GetPropinfo and SetPropInfo to change the color property of the component before dropping it. e.g procedure SetActiveColors // see if we've got a colour property Quote"Didier Gasser-Morlay" <didie...@nordnet.fr> wrote in message Quote> Hi there, |
Martin De
![]() Delphi Developer |
Wed, 07 Jul 2004 07:56:25 GMT
Re:Edit box selected text colorCorrection.. lol add TypInfo to your Uses clause and the rest will change an edit control to procedure TForm1.SetActiveColors(AComponent : TWinControl); procedure TForm1.Button1Click(Sender: TObject); Quote"Didier Gasser-Morlay" <didie...@nordnet.fr> wrote in message Quote> Hi there, |
Didier Gasser-Morla
![]() Delphi Developer |
Wed, 07 Jul 2004 15:35:18 GMT
Re:Edit box selected text colorMartin, This will change the edit box color, font ... but unless I did not get Sorry I was ot clear enough QuoteMartin Dew wrote: |
Team
![]() Delphi Developer |
Wed, 07 Jul 2004 21:07:46 GMT
Re:Edit box selected text colorQuoteIn article <3C48ABA6.7090...@nordnet.fr>, Didier Gasser-Morlay wrote: control, which is not an easy task. Of course you may be able to find a ready-made replacement for TEdit on one of the Delphi sites: http://www.borland.com/delphi/resources/deltools.html -- |
Didier Gasser-Morla
![]() Delphi Developer |
Thu, 08 Jul 2004 07:44:26 GMT
Re:Edit box selected text coloraaarrggh! too bad! Thanks anyway. Didier QuotePeter Below (TeamB) wrote: |
1. Selecting all text in an edit box
2. Checking for Rich Text formatting in a rich text edit box
3. Simple Edit Box - Hex Color
4. Setting text in the edit area of a combo box
6. save input from edit box to text file
7. Is it possible to change the text colour of a disabled edit box
8. Add line breaks to an edit box text