Page 1 of 1
DCREADGUI and AddButtons with dcbuttonxp-buttons
Posted: Mon Mar 22, 2010 7:06 am
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
Re: DCREADGUI and AddButtons with dcbuttonxp-buttons
Posted: Mon Mar 22, 2010 7:17 am
by rdonnay
Look at the function DC_ExpressButtonStyle().
Re: DCREADGUI and AddButtons with dcbuttonxp-buttons
Posted: Mon Mar 22, 2010 2:57 pm
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.

Re: DCREADGUI and AddButtons with dcbuttonxp-buttons
Posted: Mon Mar 22, 2010 4:18 pm
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
Re: DCREADGUI and AddButtons with dcbuttonxp-buttons
Posted: Thu Aug 05, 2010 3:51 am
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