- Code: Select all Expand view RUN
oSay:nStyle := nOr( WS_POPUP|DS_MODALFRAME|DS_3DLOOK|DS_CENTER|WS_CAPTION|WS_SYSMENU|WS_VISIBLE|0x00000008 )
oSay:nStyle := nOr( WS_POPUP|DS_MODALFRAME|DS_3DLOOK|DS_CENTER|WS_CAPTION|WS_SYSMENU|WS_VISIBLE|0x00000008 )
::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, nOr( WS_BORDER, WS_EX_STATICEDGE ), 0 ),;
If( lShaded, SS_BLACKRECT, 0 ),;
If( lBox, SS_GRAYRECT, 0 ),;
If( lRaised, SS_WHITERECT, 0 ) )
::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_EX_STATICEDGE, 0 ),;
If( lShaded, SS_BLACKRECT, 0 ),;
If( lBox, SS_GRAYRECT, 0 ),;
If( lRaised, SS_WHITERECT, 0 ) )
::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, BDR_RAISEDOUTER , 0 ),;
If( lShaded, SS_BLACKRECT, 0 ),;
If( lBox, SS_GRAYRECT, 0 ),;
If( lRaised, SS_WHITERECT, 0 ) )
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: No registered users and 32 guests