Silvio, Workshop.exe de 32 bits:
https://imgur.com/Qy9Xmaf
Regards, saludos.
Antonio Linares wrote:Dear Roberto,
If you want to scroll the dialog contents in a TFolderEx control probably using a TScrollPanel is the way to go.
We are going to test it and share an example
Please wait for us, thank you
for n = 1 to nLen
DEFINE DIALOG oDlg OF Self STYLE nOR( WS_CHILD, If( ! ::oWnd:IsKindOf( "TDIALOG"), WS_CLIPCHILDREN, 0 ) );
FROM 0, 1 TO ::nHeight(), ::nWidth() PIXEL ;
FONT ::ownd:oFont ;
HELPID If( Len( ::aHelps ) >= n , ::aHelps[ n ] , NIL )
#ifdef RECINFORMATICA // 06/09/2024
default lHBar := .f.
default lVBar := .f.
if lVBar
oPanel := TScrollPanel():New( 1, 1, ::nHeight()-30, ::nWidth()-30, oDlg, .T. )
oPanel:SetColor( CLR_WHITE, nClrPane )
endif
#endif
oDlg:SetBrush( ::oBrush )
::aDialogs[ n ] = oDlg
oDlg:cVarName := "Page" + AllTrim( Str( n ) )
oDlg:Hide()
// oDlg:lTransparent := .T.
next
Method GetWnd() CLASS CClip
local oWnd
if ::oFolder # NIL // folder non ancora creato
oWnd := if( ::lFolder, ::oFolder:aDialogs[::oFolder:nOption], ::oWnd )
#ifdef SCROLLCLIP
// add: 05/09/2024 gestione tScrollPanel() per <oClip>
if ::lFolder .and. ::oFolder:isKindof("TFOLDEREX") .and. !empty(oWnd:aControls) .and. oWnd:aControls[1]:isKindof("TSCROLLPANEL")
oWnd := oWnd:aControls[1]
endif
#endif
endif
Return (oWnd)
for n = 1 to nLen
DEFINE DIALOG oDlg OF Self STYLE nOR( WS_CHILD, If( ! ::oWnd:IsKindOf( "TDIALOG"), WS_CLIPCHILDREN, 0 ) );
FROM 0, 1 TO ::nHeight(), ::nWidth() PIXEL ;
FONT ::ownd:oFont ;
HELPID If( Len( ::aHelps ) >= n , ::aHelps[ n ] , NIL )
#ifdef RECINFORMATICA // 06/09/2024
default lHBar := .f.
default lVBar := .f.
if lVBar .or. lHBar
oPanel := TScrollPanel():New( 1, 1, ::nHeight()-30, ::nWidth()-30, oDlg, .T. )
oPanel:SetColor( CLR_WHITE, nClrPane )
// this does not work, they are not managed?
if lHBar
DEFINE SCROLLBAR oPanel:oHScroll HORIZONTAL OF oPanel RANGE 1,2
oPanel:nStyle := nOr( WS_CHILD, WS_VSCROLL, WS_HSCROLL,;
WS_VISIBLE, WS_TABSTOP, WS_CLIPCHILDREN )
oPanel:refresh()
endif
//
endif
#endif
oDlg:SetBrush( ::oBrush )
::aDialogs[ n ] = oDlg
oDlg:cVarName := "Page" + AllTrim( Str( n ) )
oDlg:Hide()
// oDlg:lTransparent := .T.
next
Antonio Linares wrote:I am afraid yes as it never had support for horizontal scroll
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 79 guests