DCPUSHBUTTONXP
Posted: Thu Feb 28, 2013 6:18 am
Hello,
I have a question to captionarray. It seems that the positioin and alignment of the text does not work correct. When I add XBPALIGN_HCENTER, then the position of the text changes to top of the button. Also the position of 80 of the second caption is needed to display the text at the bottom of the button, but the size is only 50 pixels.
regards
Rudolf
I have a question to captionarray. It seems that the positioin and alignment of the text does not work correct. When I add XBPALIGN_HCENTER, then the position of the text changes to top of the button. Also the position of 80 of the second caption is needed to display the text at the bottom of the button, but the size is only 50 pixels.
regards
Rudolf
Code: Select all
aCaption := { ;
{ 'T', GRA_CLR_BLACK,40, 10,,,XBPALIGN_HCENTER,'30.Wingdings 2',,}, ;
{ 'Exit', GRA_CLR_BLACK,80, 15,,,XBPALIGN_HCENTER,'10.Arial Bold',,} }
@ 0,1 DCPUSHBUTTONXP SIZE 50,50 CAPTIONARRAY aCaption action