View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005689 | JEDI VCL | 00 JVCL Components | public | 2011-10-20 16:23 | 2012-09-10 14:15 |
Reporter | stevegr | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | 3.46 | |||
Summary | 0005689: TJvFormWallpaper do not update image | ||||
Description | After load a new image with JvFormWallpaper1.Image.LoadFromFile, image do not change. JvFormWallpaper1.Invalidate/Update/Refresh/Repaint do not work also. The only ways found are: 1) JvFormWallpaper1.Hide;JvFormWallpaper1.Show; 2) Resize the form. | ||||
Tags | No tags attached. | ||||
|
tried to play with .DoubleBuffered of TForm and/or of wallpaper ? |
|
Forgot to mention that the problem occures when FormStyle is fsMDIForm. Form.DoubleBuffered reduce flickering of wallpaper. (TJvFormWallpaper has not DoubleBuffered property) |
|
flickering ? Flickering is dynamic process, show/hide/show/hide etc Report told "image do not change" - so no flickering, static picture. |
|
Sorry if my english is not so good. Form.DoubleBuffered helps reducing flickering of wallpaper only when I use JvFormWallpaper1.Hide;JvFormWallpaper1.Show to update the wallpaper with the new image. DoubleBuffered property is not an issue here. The problem is that when the main's form FormStyle is fsMDIForm, JvFormWallpaper1 does not update the new image. |
|
There is one rather old component with emphasized goal at MDI windows http://www.torry.net/authorsmore.php?id=878 Dunno if it still has any valueable clues. But it's mention of RxLib makes it far relative to JVCL :-) |
|
I worked on a solution for JvFormWallpaper unit (JVCL3-Source-2011-10-30): ... implementation uses Forms; ... procedure TJvFormWallpaper.FormPaint(Sender: TObject); begin if (Parent is TForm) and (TForm(Parent).FormStyle = fsMDIForm) then begin RequestAlign; // Invalidate DOES NOT work here. end else Invalidate; end; |
|
So what do we do here? |
|
Applied suggested change in SVN |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-10-20 16:23 | stevegr | New Issue | |
2011-10-20 21:59 | Arioch | Note Added: 0019050 | |
2011-10-22 16:30 | stevegr | Note Added: 0019051 | |
2011-10-24 11:16 | Arioch | Note Added: 0019055 | |
2011-10-24 17:39 | stevegr | Note Added: 0019057 | |
2011-10-29 21:27 | Arioch | Note Added: 0019069 | |
2011-10-30 12:59 | stevegr | Note Added: 0019071 | |
2012-02-22 14:41 | obones | Note Added: 0019438 | |
2012-02-22 14:41 | obones | Status | new => feedback |
2012-02-24 15:19 | obones | Note Added: 0019536 | |
2012-02-24 15:19 | obones | Status | feedback => resolved |
2012-02-24 15:19 | obones | Fixed in Version | => Daily / SVN |
2012-02-24 15:19 | obones | Resolution | open => fixed |
2012-02-24 15:19 | obones | Assigned To | => obones |
2012-09-10 14:15 | obones | Fixed in Version | Daily / SVN => 3.46 |