
Layout class of Daniel
I use : FiveWin for Harbour March-April 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

No
Great!!.
Any estimated date?, thanks
Publish and we will help you to try !
Hi Cristobal,
Your TDocpanel Class seem to be very interesting and will add a great value
to our FiveWin Library.
I wish that you will be able to publish it in forth coming 19.04 Version.
-Ramesh Babu
RAMESHBABU wrote:Hi Cristobal,
Your TDocpanel Class seem to be very interesting and will add a great value
to our FiveWin Library.
I wish that you will be able to publish it in forth coming 19.04 Version.
-Ramesh Babu
Function DockEdit( oWindow, n, m )
聽 聽oDock 聽:= TDockPnel():New( oWindow )
聽 聽WITH OBJECT oDock
聽 聽 聽 :SetHeightCaption( 40 )
聽 聽 聽 :SetCoors( { | o | XEval( o:oWnd:aControls[ n ]:nBottom + 10, o ) }, ;
聽 聽 聽 聽 聽 聽 聽 聽 聽{ | o | XEval( o:oWnd:aControls[ n ]:nLeft, o ) }, ;
聽 聽 聽 聽 聽 聽 聽 聽 聽{ | o | XEval( o:oWnd:aControls[ m ]:nBottom, o ) }, ;
聽 聽 聽 聽 聽 聽 聽 聽 聽{ | o | Int( o:oWnd:nWidth / 3 ) + XEval( o:nLeft, o ) - 38 } )
聽 聽 聽 :SetCaption( { | o | "Title DockPanel + SourcEdit" } )
聽 聽 聽 :SetBorderSize( 1 )
聽 聽 聽 :SetColors( CLR_WHITE, METRO_STEEL, METRO_TEAL, CLR_BLUE )
聽 聽 聽 :nClrPaneT 聽 := CLR_WHITE
聽 聽 聽 :SetFont( oFont4 )
聽 聽 聽 :SetImgsFiles( { { "..\bitmaps\16x16\max.bmp", , } } )
聽 聽 聽 :SetCtrlsPnel( { | o, nT, nL, nH, nW, oB, cT | cT := MemoRead( "\fwh\samples\alert.prg" ), ;
聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 oB := SourceEdit( cT, , Rgb( 255, 255, 234 ), ;
聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 nT, nL, nH, nW, , , ;
聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 , .F., o, .F., , 519, , -10, .F., , .T., .F., ;
聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 聽 , nil, "FixedSys" ) } )
聽 聽 聽 :Activate()
聽 聽END
Return oDockHi Cristobal,
Thanks for explaining the scope of TDocPanel with sample Code to under stand by us.
I am in dire need of a Class to manage the Dashboard. I tried different techniques. But
I found that Your TDocPanel is the one, which will suite to my requirement.
I am one of the members of the FiveWin Forum eagerly waiting for its publication.
-Ramesh Babu

It's really impressive! Waiting anxiously!
cnavarro wrote:Look
Jose Luis, if you monitor is 1366, please press right button of mouse over image and select "Open in new Tab"
Updated
New method with predefined styles
http://wiki.fivetechsoft.com/doku.php?i ... nel#styles
If any user creates a design and decides to send it to me, it will be added to the method

#include "fivewin.ch"
#include "constant.ch"
Function test()
Local oDlg,oPanel
Local aItems
ctesto1:="Quest'area 猫 una 'bacheca virtuale' dove appuntare ed avere sempre visibili le informazioni pi霉 comuni ed utili, quali le coordinate bancarie dell'azienda, i numeri telefonici dei dipendenti, i numeri telefonici dei fornitori per le emergenze, link internet interessanti, etc."
ctesto2:="10/07/2017 - Effettuare controllo periodico merce.. dal cliente Amici a 4 zampe. 聽(fatto?)" +CRLF+;
聽 聽 聽 聽 聽"12/07/2017 - Effettuare controllo periodico merce.. dal cliente Autoscuola Predosa 聽(fatto?) 聽 " +CRLF+;
聽 聽 聽 聽 聽"04/08/2017 - Effettuare controllo periodico merce.. dal cliente Studio Legale Sesia. 聽(fatto?) " +CRLF+;
聽 聽 聽 聽 聽"04/10/2017 - Effettuare controllo periodico merce.. dal cliente Ocean Blu Bar. 聽(fatto?) 聽 " +CRLF+;
聽 聽 聽 聽 聽"28/10/2017 - Il cliente Viaggiare.com deve rendere 3 pz di prodotto non conforme. 聽(fatto?) " +CRLF+;
聽 聽 聽 聽 聽"13/12/2017 - Appuntamento c/o cliente Viaggiare.com per preventivo nuova apertura sede. 聽(fatto?) 聽" +CRLF+;
聽 聽 聽 聽 聽"31/03/2018 - Verifica trimestrale magazzino 聽(fatto?) " +CRLF+;
聽 聽 聽 聽 聽"30/04/2018 - Effettuare intervento di manutenzione posizionamento fori passacavi dal cliente:Boccieri Maria Cristina. 聽(fatto?)" +CRLF+;
聽 聽 聽 聽 聽"09/05/2018 - Eseguire lavoro di inserimento fori passacavi al cliente...Ceramiche Italiane 聽(fatto?) " +CRLF+;
聽 聽 聽 聽 聽"30/06/2018 - Verifica trimestrale magazzino 聽(fatto?) 聽 " +CRLF+;
聽 聽 聽 聽 聽"02/08/2018 - Effettuare controllo periodico merce.. dal cliente L'Arte di abitare 聽(fatto?) 聽" +CRLF+;
聽 聽 聽 聽 聽"04/08/2018 - Effettuare controllo periodico merce.. dal cliente Arc貌 Studio Associato 聽(fatto?) 聽" +CRLF+;
聽 聽 聽 聽 聽"30/09/2018 - Verifica trimestrale magazzino 聽(fatto?) " +CRLF+;
聽 聽 聽 聽 聽"31/12/2018 - Inventario magazzino 聽(fatto?)"
aItems:={;
{'1.bmp',ctesto1,.t.},;
{'2.bmp',ctesto2,.t.},;
{'3.bmp','testo tre',.t.},;
{'4.bmp','testo quattro',.t.}}
DEFINE DIALOG oDlg SIZE 600,620 PIXEL
聽oDlg:nStyle 聽 聽= nOR( WS_CHILD, WS_BORDER, WS_VISIBLE,WS_POPUP )
ACTIVATE DIALOG oDlg 聽CENTERED 聽 聽 聽 ;
ON INIT ( oPanel := CreaPanel( oDlg ,aItems),oPanel:checkresize() )
Return 聽NIL
//----------------------------------------------------------------------//
Function CreaPanel(oWnd,aItems)
Local oPanel
Local aBtn:= array(len(aItems))
Local nRow:=1
Local nCol :=1
Local nNumero:= 1
Local n
Local cCursor:= TCursor():New(,'HAND')
oPanel:= TScrollPanel():New(1,1,oWnd:nbottom-10,oWnd:nWidth-10,oWnd, .t.)
For n= 1 to Len(aItems)
聽 聽@ nRow,nCol BTNBMP aBtn[n] 聽;
聽 聽 聽 聽 聽OF oPanel SIZE oPanel:nWidth-20,120 聽 ;
聽 聽 聽 聽 聽PROMPT 聽space(50) + aItems[n][2] RIGHT ;
聽 聽 聽 聽 聽NOBORDER 聽 聽;
聽 聽 聽 聽 聽FLAT
聽 聽 聽 聽 聽@ 1,2 聽BTNBMP FILENAME aItems[n][1] of 聽aBtn[n] SIZE 100,100 聽 NOBORDER 聽FLAT
聽 聽 聽 聽 聽aBtn[n]:ocursor := cCursor
聽nNumero++
聽 聽 聽nRow+=120+5
聽 聽 聽nCol:=1
聽 聽 聽nNumero=0
Next n
聽oPanel:SetRange()
聽 聽Return oPanel
//----------------------------------------------------------------------//Very pretty
I think you can also do it (in future versions)
But, I understand DashBoard in another way. Please look for images of DashBoard with google, or the image that the companion Villian put in the first post of this thread.