April 17, 2014
One of the new features of the VCL in Delphi (and C++Builder) XE6 is the support for styling in menus. Also thanks to the system hook code part of the VCL Style Utils library Embarcadero licensed from Rodrigo and Mahdi.
One of the new features of the VCL in Delphi (and C++Builder) XE6 is the support for styling in menus. This is an image showing the feature in action for the main menu of a styled application. (Notice, there is no code you need to write, only recompile a VCL styled application in XE6 or enable styling for an application in XE6.)
This enhancement was done also thanks to the system hook code part of the VCL Style Utils library that Embarcadero licensed from Rodrigo and Mahdi. That coded ended up in the units VCL.Themes.pas and VCL.SysStyles.pas and it is Copyright(c) 2013-2014 Rodrigo Ruz and Mahdi Safsafi. We are planning to keep working with them for other enhancements to styling.
posted by
marcocantu @ 12:17AM | 12 Comments
[0 Pending]
12 Comments
XE6 Menu Styling and a Thank You
This is very good news, Menus stood out poorly in
styles apps. Thanks for doing it.
Comment by John Mitchell on April 17, 15:38
XE6 Menu Styling and a Thank You
Very good. Thank you and Rodrigo especially.
Comment by Michael on April 17, 16:12
XE6 Menu Styling and a Thank You
I had 2 problems with styles in XE5:
- Is TPaintbox still skinned in XE6? Stupid&ugly! Is
this fixed?
- Skinning does a "resize", buttons overlap window
edges in XE5. Is this fixed now?
Comment by Peter on April 17, 16:18
XE6 Menu Styling and a Thank You
You should talk to them about the Delphi Theme editor
for the IDE itself.
Comment by C Johnson on April 17, 18:08
XE6 Menu Styling and a Thank You
Great job Rodrigo and Mahdi. Bravo Zulu.
Comment by Michael Riley
[http://www.zilchworks.com]
on April 18, 00:05
XE6 Menu Styling and a Thank You
Thank you Marco for your post. ;)
Comment by Rodrigo
[http://theroadtodelphi.wordpress.com/]
on April 18, 03:18
XE6 Menu Styling and a Thank You
Can a professional, expensive product rely so much on
external contributions instead of its own development
team? It is true any big tool may have some licensed
code, but one thing is for example license Dikumware
libraries, another relying on code from developers
who may not be still developing it tomorrow...
I mean not only this, but also Indy, for example.
Comment by Luigi D. Sandon on April 18, 10:04
XE6 Menu Styling and a Thank You
Includes styling the menus the ability to customize
the font? In my apps I use all over fonts at 10 pt.
But menus are always shown in 8pt. So I would like to
have the font in menues a bit larger, too...
Since we bought just XE5 (one monthe ago): Is it also
possible to increase the menu font with our version of
Delphi?
Comment by Klaus on April 18, 18:44
XE6 Menu Styling and a Thank You
Actually with this nice menu styling I feel even more
frustrated ;-). I could develop nike looking
applications on many plattforms but the only problem
is that my App need some king of serial communication
(through USB on OSX or windows) and through bluetough
on mobile devices. My commpany is developping hardware
that could connect to mobile device, but the support
with Delphi in this area as far as I know on other
Platform than windows is poor. A solution to my problem?
Comment by Alexandre Jacquot
[http://www.ipm.fraunhofer.de/]
on April 19, 12:55
XE6 Menu Styling and a Thank You
Klaus, I think font customization should be part of the styling, but might
be wrong.
Alexandre, this VCL styling is for Windows only (although FireMonkey has
similar styling support). Bluetooh on mobile can be done at the API level,
we'll support it with specific components in the future.
Comment by Marco Cantu
[http://www.marcocantu.com]
on April 19, 13:28
XE6 Menu Styling and web
Hi Marco,
Will his "system hook code" allow Cybele Software to
create a WebVCL version of their WebFMX product ?
My vision is that Delphi Pro shoud have WebFMX/VCL 5
users included, Entreprise WebFMX/VCL 50 users
included, and Architect WebFMX/VCL unlimited users.
Whereas DELPHI XE should be reoriented to gaming whith
a provided header for either Leadwerks (now available
on steam) ou CryEngine (now available for 10$ as a
service) to fill the void, make the product starter
edition usefull, and get fresh young blood.
http://delphihaters.blogspot.fr/2013/08/games-delphi-
developers-play.html (sorry for pointing you there,
but they described the void in young/gaming
envirronment well in this case)
Comment by wchris on April 22, 09:36
XE6 Menu Styling not work well
If you set a TImageList to PopMenu with images large
tan 16x16 all menus appear displaced.
Property visible for separators not work well: if you
put two continuous separators (or separed by NOT
visible menú) with style applied instead of the
second separator print a new menú with "-" caption.
Without style applied second separatos is not
visible.
Comment by Anonymous on May 12, 17:03
Post Your Comment
Click
here for posting
your feedback to this blog.
There are currently 0 pending (unapproved) messages.