View Issue Details

IDProjectCategoryView StatusLast Update
0004585JEDI VCL00 JVCL Componentspublic2008-11-17 15:40
ReporterBrianAssigned ToAHUser 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.36 
Summary0004585: JvSpeedButton + Vista glassform: not displayed properly while inside a container
DescriptionTry the following:

- Set form's glassframe to enabled and sheetofglass as well
- Set DoubleBuffered to True
- Place a panel on the form
- Place a JvSpeedButton on it with some text.

If the button is flat, it's filled all black
If not flat, it has a black border around
TagsNo tags attached.

Activities

AHUser

2008-11-15 02:42

developer   ~0014998

Last edited: 2008-11-15 02:43

I can't reproduce this with Delphi 2009.
Actually the TSpeedButton has this black rectangle while the TJvSpeedButton paints correctly.

Brian

2008-11-15 05:09

reporter   ~0014999

http://i36.tinypic.com/34z15hw.jpg
http://i33.tinypic.com/2nh3x9t.jpg

2008-11-16 13:00

 

JvSpeedButton.gif (8,263 bytes)
JvSpeedButton.gif (8,263 bytes)

AHUser

2008-11-16 13:03

developer   ~0015002

I have attached a screenshot (Delphi 2007(all updates) and 2009(Update 1) look the same). And the project uses the SVN version.
Maybe I'm doing something different. A little demo project might bring light into the dark.

2008-11-16 13:28

 

2008-11-16 13:28

 

2008-11-16 13:29

 

SpeedButton demo.rar (5,015 bytes)

Brian

2008-11-16 13:33

reporter   ~0015003

(sidenote: the text in this box is cleared after you upload a file)

Sorry I was a little wrong in my explanation. The problem actually happens while not inside a container. I have included 2 screenshots comparing different scenarios with a normal TSpeedButton and a TJvSpeedButton. The second screenshot has the window maximized. I have also included a project for you to reproduce this issue. It seems like TSpeedButton displays fine on a form but not on a panel/container, and TJvSpeedButton has the opposite behaviour. In the case of using a glyph, TSpeedButton fails in both cases.

AHUser

2008-11-17 15:40

developer   ~0015004

The TJvSpeedButton now works on both Form and Panel. It also has a better painting of the glyph. Not perfect but there seems to be no way to get it working. I spent 4 hours getting this stupid ImageList_Draw to draw it correctly on a sheet of glass form.

Issue History

Date Modified Username Field Change
2008-11-14 21:48 Brian New Issue
2008-11-15 02:42 AHUser Note Added: 0014998
2008-11-15 02:43 AHUser Note Edited: 0014998
2008-11-15 05:09 Brian Note Added: 0014999
2008-11-16 13:01 AHUser File Added: JvSpeedButton.gif
2008-11-16 13:03 AHUser Note Added: 0015002
2008-11-16 13:28 Brian File Added: Cropped Capture - 00294.jpg
2008-11-16 13:28 Brian File Added: Cropped Capture - 00295.jpg
2008-11-16 13:29 Brian File Added: SpeedButton demo.rar
2008-11-16 13:33 Brian Note Added: 0015003
2008-11-17 15:40 AHUser Note Added: 0015004
2008-11-17 15:40 AHUser Status new => resolved
2008-11-17 15:40 AHUser Fixed in Version => Daily / SVN
2008-11-17 15:40 AHUser Resolution open => fixed
2008-11-17 15:40 AHUser Assigned To => AHUser