DelphinSoftware / vcl-styles-utils

Automatically exported from code.google.com/p/vcl-styles-utils
0 stars 0 forks source link

Problems with menus in secondary forms #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the project attached and run it
2. Right click over the grid and use the menu to check that it works as expected
3. Click over the button to open a secondary form
4. Right-click over the grid or open the menu to check an unexpected behavior 
(images and text disappear or chinese characters appear)

What version of the product are you using? On what operating system?

RAD Studio XE6 on Windows 7 64-bits. Latest build from Subversion of VCL Styles 
Utils

Please provide any additional information below.

The problem disappears if you change the "Images" property of the menus of the 
secondary form to an empty value. It seems that the links to the Imagelist 
components are broken if the styles are used.

Original issue reported on code.google.com by lecho...@gmail.com on 17 Jun 2014 at 3:21

Attachments:

GoogleCodeExporter commented 9 years ago
The attachment was wrong. Resubmitted

Original comment by lecho...@gmail.com on 17 Jun 2014 at 3:28

Attachments:

GoogleCodeExporter commented 9 years ago
DXE6 it's using a old version of the VCL Styles Utils to style the system 
menus, so you  must report this to the QC site of EMB. This is issue doesn't 
exist in the latest versions of the VCL Styles Utils project, So to use the 
updated code in XE6 go to Vcl.Styles.Utils.Menus unit and comment the line (27) 
{$UNDEF UseVCLStyleUtilsMenu}.

Original comment by Rodrigo.Ruz.V@gmail.com on 21 Jun 2014 at 9:24

GoogleCodeExporter commented 9 years ago
Thanks a lot Rodrigo. It worked like a charm!

Original comment by lecho...@gmail.com on 24 Jun 2014 at 12:27

GoogleCodeExporter commented 9 years ago
After commenting out that line, doesn't one have to somehow rebuild the VCL?

Original comment by briandco...@gmail.com on 6 Oct 2014 at 5:31

GoogleCodeExporter commented 9 years ago
No because that unit (Vcl.Styles.Utils.Menus) is part of this project and not 
of the VCL RTL.

Original comment by Rodrigo.Ruz.V@gmail.com on 6 Oct 2014 at 5:40