Readme file for ResizeImageDemo Example from Mike Sapsard. Issue #27592.

git-svn-id: trunk@53423 -
This commit is contained in:
juha 2016-11-23 10:54:42 +00:00
parent cdf1328144
commit f674fb144c
2 changed files with 11 additions and 0 deletions

1
.gitattributes vendored
View File

@ -5147,6 +5147,7 @@ docs/xml/lcl/xmlpropstorage.xml svneol=LF#text/xml eol=lf
docs/xml/mkhtml.bat svneol=native#text/plain
docs/xml/multi_makeskel.pl svneol=native#text/plain
docs/xml/updateXML.bat svneol=native#text/plain
examples/ReSizeImageDemo/Readme.txt svneol=native#text/plain
examples/ReSizeImageDemo/project1.lpi svneol=native#text/plain
examples/ReSizeImageDemo/project1.lpr svneol=native#text/pascal
examples/ReSizeImageDemo/unit1.lfm svneol=native#text/plain

View File

@ -0,0 +1,10 @@
Resizing Example
LCL demo of redraw event order for images, panels and forms that should work
for all widget sets eg Windows, qt, OSX, GTK etc.
ClientWidth and ClientHeight rather than Width and Height are used so that the code works across widget sets eg Windows, qt, OSX, GTK etc because Height and Width do not allow for widget set and theme borders.
Checkboxes are used to call procedures for each of the redraw events. Each procedure writes to the canvas. They overwrite each other as they are called and the firing order is shown in a memo.
Repaint or Invalidate are not needed for resizing events.