Page 1 of 1

The alignment of the text in DCPUSHBUTTON

Posted: Sat Apr 01, 2017 1:59 am
by Eugene Lutsenko
How DCPUSHBUTTON align test left align?

Re: The alignment of the text in DCPUSHBUTTON

Posted: Sat Apr 01, 2017 10:30 am
by rdonnay

Code: Select all

#include "dcdialog.ch"

FUNCTION Main()

local GetList[0]

@ 0,0 dcpushbuttonxp size 100,100 pixel caption 'Hello;World' align XBPALIGN_LEFT radius 10 ;
    color GRA_CLR_WHITE, GRA_CLR_DARKCYAN FONT '16.Arial'

dcread gui fit

RETURN nil

Re: The alignment of the text in DCPUSHBUTTON

Posted: Sun Apr 02, 2017 10:35 am
by Eugene Lutsenko
Hey, Roger!

Your small example does not compile.

But I looked in dcpushbuttonxp c:\exp20\Samples\BUTTONXP\buttonxp.prg. Of course there are all the most exacting taste.

Thank you!