Error with Treeview

Post Reply
User avatar
Eoeo
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Error with Treeview

Post by Eoeo »

I cannot show the vertical scroll in this simply dialog

Image


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
User avatar
Eoeo
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Re: Error with Treeview

Post by Eoeo »

Any solution ?
User avatar
Lailton
Posts: 99
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil
Contact:

Re: Error with Treeview

Post by Lailton »

You can try

Code: Select all

__ChangeStyleWindow( oTree:hWnd, WS_VSCROLL, -16, .t. )
Regards,
Lailton Fernando Mariano
https://www.harbour.ninja
User avatar
Eoeo
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Re: Error with Treeview

Post by Eoeo »

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
Post Reply