FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error with Treeview
Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Error with Treeview
Posted: Sat Aug 11, 2012 04:41 PM
I cannot show the vertical scroll in this simply dialog




the source code is

@ 0.2,0.2 TREE oTree OF oDlg SIZE 150,142 ;
BITMAPS { "SH_MATERIA","SH_PCLAVE" } ;
TREE STYLE nOr( TVS_HASLINES, TVS_HASBUTTONS, WS_VSCROLL )


How I can show the vertical scroll ?

I tried If I use resource ( define) there is not this error instaed of source ( @ x,y)

I forgot to say I use tree class of Goran Savckic because I had many problems in past with the actual tree class of fwh
Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Re: Error with Treeview
Posted: Tue Aug 21, 2012 04:15 PM

Any solution ?

Posts: 231
Joined: Fri Jul 20, 2012 01:49 AM
Re: Error with Treeview
Posted: Thu Aug 23, 2012 02:45 AM
You can try
Code (fw): Select all Collapse
__ChangeStyleWindow( oTree:hWnd, WS_VSCROLL, -16, .t. )
Regards,

Lailton Fernando Mariano
Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Re: Error with Treeview
Posted: Thu Aug 23, 2012 06:32 PM

I tried with :

ACTIVATE DIALOG oDlg CENTERED ;
ON PAINT (oDlg:Move(aPoint[1], aPoint[2],,,.t.), ;
__ChangeStyleWindow( oTree:hWnd, WS_VSCROLL, -16, .t. ))

but not run !! it not make error and not make the vertical scroll

Continue the discussion