by Silvio.Falconi » Sun Feb 11, 2018 4:08 pm
On explorer bar there is a dispositive create a vertical scroll when we resize it...why we cannot insert it on folder class ?
here a test ( but not run)
#include "fivewin.ch"
#include "constant.ch"
#define WS_VSCROLL 2097152 // 0x00200000L
Function test()
Local oDlg,oFolder,oVScroll
Local nBottom := 33
Local nRight := 115
Local nWidth := Max( nRight * DLG_CHARPIX_W, 180 )
Local nHeight := nBottom * DLG_CHARPIX_H
local noption := 1
DEFINE DIALOG oDlg ;
TITLE "test folder" ;
SIZE nWidth, nHeight TRANSPARENT PIXEL
@ 10,10 FOLDER oFolder of oDlg ;
ITEMS "Anagrafica","Rapporti Commerciali","Varie" ;
SIZE 100,200 PIXEL
oFolder:adialogs[nOption]:nSTYLE := nOR( WS_CHILD, WS_VSCROLL, WS_HSCROLL )
DEFINE SCROLLBAR oVScroll VERTICAL OF oFolder
oFolder:winStyle(WS_VSCROLL,.t.)
oDlg:nStyle := nOr( WS_OVERLAPPED,WS_THICKFRAME,WS_MAXIMIZEBOX, 0 )
ACTIVATE DIALOG oDlg CENTERED
return nil
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