Excellent Roberto!
Class TScrollPanel needs to use WS_HSCROLL too and add an horizontal scrollbar:
DEFINE SCROLLBAR ::oVScroll VERTICAL OF Self RANGE 1,2
DEFINE SCROLLBAR ::oHScroll HORIZONTAL OF Self RANGE 1,2
You are very close to have it!
Search found 2 matches: ohscroll
Searched query: ohscroll
- Sun Sep 08, 2024 7:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: scrollbars on tFolderEx
- Replies: 26
- Views: 4320
- Thu Aug 22, 2024 4:40 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: ListBox Input Field Scrolling........
- Replies: 5
- Views: 1547
Re: ListBox Input Field Scrolling........
... 0 ) )
aDim[1]:= aDim[ 1 ] + 1
lOk := .f.
cHType := ValType( uVar )
IF oBrw:lCellStyle .And. nCol != oBrw:nColAct
oBrw:nColAct := nCol
If oBrw:oHScroll != nil
oBrw:oHScroll:SetPos(nCol)
Endif
oBrw:Refresh(.F.)
ENDIF
DEFINE DIALOG oDlg FROM aDim[ 1 ], aDim[ 2 ] TO aDim[ 3 ], aDim[ 4 ] ;
STYLE ...
aDim[1]:= aDim[ 1 ] + 1
lOk := .f.
cHType := ValType( uVar )
IF oBrw:lCellStyle .And. nCol != oBrw:nColAct
oBrw:nColAct := nCol
If oBrw:oHScroll != nil
oBrw:oHScroll:SetPos(nCol)
Endif
oBrw:Refresh(.F.)
ENDIF
DEFINE DIALOG oDlg FROM aDim[ 1 ], aDim[ 2 ] TO aDim[ 3 ], aDim[ 4 ] ;
STYLE ...