DCREADGUI and AddButtons with dcbuttonxp-buttons

This forum is for eXpress++ general support.
Post Reply
Message
Author
wkedv
Posts: 12
Joined: Mon Feb 08, 2010 3:04 am

DCREADGUI and AddButtons with dcbuttonxp-buttons

#1 Post by wkedv »

Hi Roger,

is it possible to add an parameter to dcreadgui or to dcgetoptions to get instead the normal addbuttons,
dcpushbuttonxp-style ?

Thanks Kurt

User avatar
rdonnay
Site Admin
Posts: 4733
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCREADGUI and AddButtons with dcbuttonxp-buttons

#2 Post by rdonnay »

Look at the function DC_ExpressButtonStyle().
The eXpress train is coming - and it has more cars.

User avatar
Tom
Posts: 1176
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: DCREADGUI and AddButtons with dcbuttonxp-buttons

#3 Post by Tom »

BTW. I use the BUTTONS-clause of DCGET OPTIONS heavily (DCREAD ... BUTTONS DCGUI_BUTTON_CUSTOM). Really nice would be to have a WHEN-clause for those buttons - and maybe (for the future) the option to use CJbuttons there. Comfort like in a "Holiday Inn" would be an option to place those buttons at the top of the dialogs. 8-)
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
rdonnay
Site Admin
Posts: 4733
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCREADGUI and AddButtons with dcbuttonxp-buttons

#4 Post by rdonnay »

Tom -

In some future release, I plan to offer some new DC_PushbuttonStyle() and DC_MenuStyle() functions that will convert existing code to using CodeJock Pushbuttons and Commandbars. If you have any other ideas for automatic conversion, let me know.

Your request for a WHEN clause and different position on the eXpress++ buttons will be in build 255. I'll send you some code to test when it's done.

Roger
The eXpress train is coming - and it has more cars.

andrzej.anders
Posts: 1
Joined: Tue Aug 03, 2010 2:59 am
Location: Warsaw, Poland
Contact:

Re: DCREADGUI and AddButtons with dcbuttonxp-buttons

#5 Post by andrzej.anders »

Hi, Roger

I looking for any example using an image in GIF format added to the executable file, which is the button caption in DCPUSHBUTTONXP
Please, use an example of such a structure.

Best regards,
Andrzej

Post Reply