mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 00:30:25 +02:00
Readme file for ResizeImageDemo Example from Mike Sapsard. Issue #27592.
git-svn-id: trunk@53423 -
This commit is contained in:
parent
cdf1328144
commit
f674fb144c
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -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
|
||||
|
10
examples/ReSizeImageDemo/Readme.txt
Normal file
10
examples/ReSizeImageDemo/Readme.txt
Normal 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.
|
Loading…
Reference in New Issue
Block a user