Dialogs not opening with Stylebook style

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

Dialogs not opening with Stylebook style

Postby smd » Tue May 05, 2015 2:32 pm

I am using a stylebook in my program. The styles work properly on my forms. However, when I execute an OpenDialog, SaveDialog, and such, the style of the dialog is the windows default. How do I get the dialogs to use the stylebook styles. The style I am using is the Embarcadero diamond style for XE8.
-----------------------------
Scott
smd
BCBJ Guru
BCBJ Guru
 
Posts: 130
Joined: Sat Nov 29, 2014 8:02 pm
Location: Las Vegas

Re: Dialogs not opening with Stylebook style

Postby rlebeau » Thu May 07, 2015 5:32 pm

smd wrote:However, when I execute an OpenDialog, SaveDialog, and such, the style of the dialog is the windows default.


I would expect that, as they are displaying native Windows dialogs and not custom VCL/FMX forms, and are not subclassing the native dialogs to hook them into Embrcadero's styling system.

smd wrote:How do I get the dialogs to use the stylebook styles.


AFAIK, you cannot. You would have to call the native dialogs directly and subclass/hook them yourself.
Remy Lebeau (TeamB)
Lebeau Software
User avatar
rlebeau
BCBJ Author
BCBJ Author
 
Posts: 1544
Joined: Wed Jun 01, 2005 3:21 am
Location: California, USA


Return to Technical

Who is online

Users browsing this forum: No registered users and 3 guests

cron