I'm not using icons on my buttons, I'm using bitmap.
Code: Select all
@ 10,10 CJPushButton oBut1 ;
Size 130,70 ;
BITMAP ABO_KLANTN ;
Caption fMessage(1000) ;
...
Code: Select all
@ 10,10 CJPushButton oBut1 ;
Size 130,70 ;
BITMAP ABO_KLANTN ;
Caption fMessage(1000) ;
...
Code: Select all
IF CrLf() $ xData // x lines automatically calculated.
aLines := dc_tokenarray(xData,crlf())
nLines := len(aLines)
nHeight := nHeight*nLines // seems this isn't working?
for x = 1 to nLines
GraCaptionStr( oPS, aInfo[ XBP_DRAWINFO_RECT ], { aInfo[ XBP_DRAWINFO_RECT, 3 ], aInfo[ XBP_DRAWINFO_RECT, 4 ] }, aLines[x], nAlign )
next
else
GraCaptionStr( oPS, aInfo[ XBP_DRAWINFO_RECT ], { aInfo[ XBP_DRAWINFO_RECT, 3 ], aInfo[ XBP_DRAWINFO_RECT, 4 ] }, xData, nAlign )
endif
It's simply this:Is that 'zebra-striping' of your sample based on the striping from Jack Duijf?
Code: Select all
DC_BrowseColor( { nil, GRA_CLR_WHITE, nil, GraMakeRGBColor({254,230,188}) } )
YESTom wrote:There is something basically wrong with the XBPSYSCLR_TRANSPARENT mechanism in 1.9 SL1. Sometimes, this doesn't reflect the AutomationTranslateColor()-results correctly.