Hi,
I modified the say class to be able to pass a parameter to not interpret the & key as an accelerator (using SS_NOPREFIX), but now my inserted CRLF don't get interpreted either.
Has anybody seen this before, or know what else I should pass to make it work properly?
Alex
Say with no hot key parsing
- AlexSchaft
- Posts: 172
- Joined: Fri Oct 07, 2005 1:29 pm
- Location: Edenvale, Gauteng, South Africa
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- AlexSchaft
- Posts: 172
- Joined: Fri Oct 07, 2005 1:29 pm
- Location: Edenvale, Gauteng, South Africa
Say mods
Code: Select all
METHOD New( nRow, nCol, bText, oWnd, cPicture, oFont,;
lCentered, lRight, lBorder, lPixels, nClrText, nClrBack,;
nWidth, nHeight, lDesign, lUpdate, lShaded, lBox, lRaised,;
plNoHotKey, plShortenPath ) ; // AS 18/12/2007
CLASS TSay
.
.
.
.
::nStyle = nOR( WS_CHILD, WS_VISIBLE,;
If( lDesign, nOr( WS_CLIPSIBLINGS, WS_TABSTOP ), 0 ),;
If( lCentered, SS_CENTER, If( lRight, SS_RIGHT, SS_LEFT ) ),;
If( lBorder, WS_BORDER, 0 ),;
If( lShaded, SS_BLACKRECT, 0 ),;
If( lBox, SS_GRAYRECT, 0 ),;
If( lRaised, SS_WHITERECT, 0 ), ;
If( plNoHotKey, SS_NOPREFIX, 0 ), ;// AS 18/12/2007
If( plShortenPath, SS_PATHELLIPSIS, 0 )) // AS 18/12/2007
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- AlexSchaft
- Posts: 172
- Joined: Fri Oct 07, 2005 1:29 pm
- Location: Edenvale, Gauteng, South Africa
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- AlexSchaft
- Posts: 172
- Joined: Fri Oct 07, 2005 1:29 pm
- Location: Edenvale, Gauteng, South Africa
Working
It's fine now, after I removed one too many comma's
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: