Solved Two row title push button

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
George Tsekeris

Two row title push button

Post by George Tsekeris » 25 Apr 2007, 00:26

 Posted by:  TSEKERIS G. 

Hi...
how can i 2 row to object tittle push button ?????

George

Christian Astor

Re: Two row title push button

Post by Christian Astor » 25 Apr 2007, 01:26

 Posted by:  Christian ASTOR 


BS_MULTILINE

Sebastien Huleux

Re: Two row title push button

Post by Sebastien Huleux » 25 Apr 2007, 12:27

 Posted by:  Sebastien Huleux 

Code: Select all

WM_CREATE = 0x0001
BS_MULTILINE = 0x00002000
GWL_STYLE = -16
Pushbutton: pb1 Message Actions

Code: Select all

On WM_CREATE
        Call SetWindowLongA( hWndItem, GWL_STYLE, GetWindowLongA( hWndItem, GWL_STYLE ) | BS_MULTILINE  )
    On SAM_Create
        Call SalSetWindowText( hWndItem, 'Line One' || SalNumberToChar( 13 ) || SalNumberToChar( 10 ) || 'Line Two' )

George Tsekeris

Re: Two row title push button

Post by George Tsekeris » 25 Apr 2007, 14:56

 Posted by:  TSEKERIS G. 

THANKS

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests