View Issue Details

IDProjectCategoryView StatusLast Update
0006576JEDI VCL04 Feature Requestpublic2020-05-19 10:32
ReportermhAssigned Toobones 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionno change required 
Product Version3.48 
Target VersionFixed in Version 
Summary0006576: TJvTransparentButton: Make position of the image configurable
DescriptionTJvTransparentButton contains an Images property where one can assign image lists to various sub properties and select which image from the list to be displayed via the ImageIndex.

So far so good, but the image is always placed in the center of the button, which is quite inflexible and limiting. Can we please get either one alignment property for the image or individual alignment subproperties for all the different "situation" image lists?

The alignment should at minimum provide the following values:
- left
- right
- top
- bottom
- center
Additional InformationIn the product version list here in Mantis versions newer than 3.48 are missing in the product version combobox.
TagsNo tags attached.

Activities

obones

2018-07-18 15:55

administrator   ~0021527

Could you check if the issue is still present in the latest GIT content? If yes, please provide the zipped sources of an application showing this.

mh

2018-10-28 17:09

reporter   ~0021582

I just downloaded the newest JCL and JVCL zip GitHub gave me and installed them into a Berlin update 2 installation.

Here my findings regarding this button:
1. I still see no alignment property for the state images I specify via
   the sub properties of the Images property. It has a general align
   property, but that's for the button itself.

2. I defined an ActivaImage and a GrayImage. Both different images.
   When I change FrameStyle from "Explorer" to "Dark" the form designer
   no longer displays the GrayImage but the ActiveImage. Changing this
   setting back changes the image back.

3. When clicking the elipsis button for the Glyph property I can select a png
   file in the file open dialog, but then I get a "invalid graphic format"
   failure message. I attached the stack trace the IDE gave me for this as a
   file.

2018-10-28 17:09

 

JVCLStacktrace.txt (1,556 bytes)
[212C3FDC]{designide240.bpl} PicEdit.TGraphicProperty.Edit (Line 273, "PicEdit.pas" + 10) + $12
[209CBF8E]{coreide240.bpl} PropInsp.TPropertyInspector.PropListEditDblClick (Line 965, "PropInsp.pas" + 18) + $6
[21483051]{vclide240.bpl} IDEInspListBox.TInspListBox.DoEditDblClick (Line 626, "IDEInspListBox.pas" + 2) + $A
[21484E4F]{vclide240.bpl} IDEInspListBox.TInspListBox.ListButtonClick (Line 1322, "IDEInspListBox.pas" + 2) + $2
[50AA409F]{vcl240.bpl  } Vcl.Controls.TControl.Click (Line 7429, "Vcl.Controls.pas" + 9) + $8
[2147A5F6]{vclide240.bpl} IDEListBtns.TListButton.WMLButtonUp (Line 584, "IDEListBtns.pas" + 8) + $11
[50AA3B32]{vcl240.bpl  } Vcl.Controls.TControl.WndProc (Line 7313, "Vcl.Controls.pas" + 91) + $6
[0D44514C]{TrackingSystem240.bpl} TrackingSystemHelp.CBTHookProc (Line 211, "TrackingSystemHelp.pas" + 27) + $F
[50AA7E8B]{vcl240.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9906, "Vcl.Controls.pas" + 1) + $9
[50AA867D]{vcl240.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10143, "Vcl.Controls.pas" + 158) + $6
[50AA7C9C]{vcl240.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9850, "Vcl.Controls.pas" + 3) + $6
[50170DFC]{rtl240.bpl  } System.Classes.StdWndProc (Line 17187, "System.Classes.pas" + 8) + $0
[50BEEDE7]{vcl240.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10534, "Vcl.Forms.pas" + 23) + $1
[50BEEE2A]{vcl240.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10564, "Vcl.Forms.pas" + 1) + $4
[50BEF15D]{vcl240.bpl  } Vcl.Forms.TApplication.Run (Line 10702, "Vcl.Forms.pas" + 26) + $3
JVCLStacktrace.txt (1,556 bytes)

mh

2019-05-12 16:45

reporter   ~0021828

This one can be closed, as the TextAlign property can already be used to achieve this glyph positioning.

Issue History

Date Modified Username Field Change
2017-07-02 08:40 mh New Issue
2018-07-18 15:55 obones Note Added: 0021527
2018-07-18 15:55 obones Status new => feedback
2018-10-28 17:09 mh Note Added: 0021582
2018-10-28 17:09 mh File Added: JVCLStacktrace.txt
2019-05-12 16:45 mh Note Added: 0021828
2020-05-19 10:32 obones Assigned To => obones
2020-05-19 10:32 obones Status feedback => resolved
2020-05-19 10:32 obones Resolution open => no change required