9
votes
Vote UpVote

Vcl Styles – Adding background images and colors to Delphi forms

The Road to Delphi – Adding a background image to a delphi form is a topic very well covered by many articles, but most of them doesn’t work or another produces a lot of flicker when the vcl styles are enabled. The common techniques to set a background image in a form includes : Use a TImage component with the align property set to alClient Use the OnPaint event of the Form and handle the WM_ERASEBKGND message use the Canvas.Brush.Bitmap property of the form to assign a bitmap and so on. Since the introduction of the vcl styles, now you can use the style hooks to handle the paint operations of the ...
Favorite? Off-Topic? Rodrigo @ 2012-03-26 21:55

Statistics

Visits: 1052
Votes: 9
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Artur
dazberry
Francis Ruiz
François
jfgarcia
Jørn E. Angeltveit
stukelly
TOndrej
Wouter
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)