View Issue Details

IDProjectCategoryView StatusLast Update
0001790JEDI VCL00 JVCL Componentspublic2004-06-04 05:51
Reporterspeed_rabuAssigned Toobones 
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001790: TJvBtnMenuItemPainter
DescriptionHi,

Please the Bug ID: 1741. The same effect happens in JvBtnMenuItemPainter if a Frame is drawn. I think the solution is in DrawSelectedFrame. The Code must be like this:

procedure TJvBtnMenuItemPainter.DrawSelectedFrame(ARect: TRect);
begin
  ARect.Left := ARect.Left + FLeftMargin - 4;
  if FLowered then
    Frame3D(Canvas, ARect, clBtnShadow, clBtnHighlight, 1)
  else
    Frame3D(Canvas, ARect, clBtnHighlight, clBtnShadow, 1);
end;
TagsNo tags attached.

Activities

user72

2004-05-23 23:23

  ~0004324

I think the code should rather be:

  if IsPopup then
    Inc(ARect.Left, FLeftMargin);
  if FLowered then
    ...

obones

2004-06-04 04:18

administrator   ~0004463

I actually is not where it should be changed.
It will be fix in the next CVS version of JvMenus.pas

obones

2004-06-04 05:51

administrator   ~0004468

This is now fixed in the latest CVS version (1.55)

Issue History

Date Modified Username Field Change
2004-05-22 07:12 speed_rabu New Issue
2004-05-23 23:23 user72 Note Added: 0004324
2004-05-24 00:27 user72 Status new => acknowledged
2004-06-02 21:55 obones Status acknowledged => assigned
2004-06-02 21:55 obones Assigned To => obones
2004-06-04 04:18 obones Note Added: 0004463
2004-06-04 05:51 obones Status assigned => resolved
2004-06-04 05:51 obones Resolution open => fixed
2004-06-04 05:51 obones Note Added: 0004468