Error with Treeview

Error with Treeview

Postby Eoeo » Sat Aug 11, 2012 4:41 pm

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

Postby Eoeo » Tue Aug 21, 2012 4:15 pm

Any solution ?
User avatar
Eoeo
 
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Re: Error with Treeview

Postby Lailton » Thu Aug 23, 2012 2:45 am

You can try
Code: Select all  Expand view
__ChangeStyleWindow( oTree:hWnd, WS_VSCROLL, -16, .t. )
Regards,
Lailton Fernando Mariano
User avatar
Lailton
 
Posts: 153
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil

Re: Error with Treeview

Postby Eoeo » Thu Aug 23, 2012 6: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
User avatar
Eoeo
 
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 96 guests