Help for dockpanel

Help for dockpanel

Postby Silvio.Falconi » Thu May 25, 2023 8:38 pm

I made this

Code: Select all  Expand view
oDock2  := TDockPnel():New( oWnd )
   WITH OBJECT oDock2
      :SetHeightCaption( 40 )
      :SetCoors( { | o | 10 }, { | o | 10 }, ;
                 { | o | Int( o:oWnd:nHeight / 7 ) + 54 }, ;
                 { | o | Int( o:oWnd:nWidth -20 ) - XEVal( o:nLeft, o ) } )
      :SetCaption( { | o | "Title of dockpanel" } )
      :SetColors( CLR_BLACK, RGB(245,245,245), RGB(245,245,245), CLR_WHITE )
      :SetBorderSize( 1 )
      :SetFont( oFont )
      :lLeftImgs   := .T.

     :SetImgsFiles( { { "home.png", , "button1" },;   //big
                      { "image.png", { | o | MyPopupMnu( o ) }, "button2" }  } )  //small   why it not is at right of oDock1 ?

    //  :SetCtrlsPnel( { | o, nT, nL, nH, nW, oB | oB := Test1( o, nT, nL, nH, nW ) } )

      :Activate()
   END



I wish Have on Header a Big Image with a Title and then at right two text with small images one to open a menupopup
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 49 guests