FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour On the fwh there is this control ?
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM
On the fwh there is this control ?
Posted: Wed Jan 06, 2010 09:16 PM



thanks
FWH .. BC582.. xharbour
Posts: 139
Joined: Fri Nov 25, 2005 04:38 PM
Re: On the fwh there is this control ?
Posted: Wed Jan 06, 2010 11:02 PM

Yes, usage TreeView.

Ronaldo Minacapelli

Ronaldo Minacapelli
Sistemas, Hospedagem e Criação de WebSites
http://www.bazevani.com.br
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM
Re: On the fwh there is this control ?
Posted: Fri Jan 08, 2010 08:10 AM

No it is NO TreeView class.
you can see in this picture as a TreeView but this is a special control in which we can also add chopped images,
imagine you have a drawing that you see only one section at a time and if we press the button "+",
we can see the one below the other parts of the image or a one section or close with button "-" the section

it is called on other language ( Delphi,visual c++..) RADMENU

FWH .. BC582.. xharbour
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: On the fwh there is this control ?
Posted: Fri Jan 08, 2010 08:48 AM

Maybe you can do it with xbrowse. Have a look into the visualFivewin sourcecode.
Best regards,
Otto

Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM
Re: On the fwh there is this control ?
Posted: Fri Jan 08, 2010 09:46 AM
Mr Otto,

I must show on a window or dialog a jpg ( tecnical draw )

xbrowse control can be good for me but I must not many and many lines but only the lines of the draw

But for a sample I must show the section of a motorbike : on this picture you can see only the sections E and F or close each section




How I can make to create it ? any help please ...
FWH .. BC582.. xharbour
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: On the fwh there is this control ?
Posted: Fri Jan 08, 2010 01:11 PM
Hello,

Maybe you can paint a bitmap somewhere and change the content with the bChange Codeblock?
But I am sure this is possible only with xbrowse, too.

Best regards,
Otto

Code (fw): Select all Collapse
 oBrw:bChange := {|| (oBmp:LoadBMP(cPathBMP + substr(oBrw:aArrayData[oBrw:nArrayAt,1],1,( len(oBrw:aArrayData[oBrw:nArrayAt,1])-4) ) + ".bmp" ))}

      @ 88,697 BITMAP oBmp FILENAME cPathBMP + "snipkeeper.bmp" OF oWnd ;
         SIZE 580,300 PIXEL SCROLL  //ADJUST
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM
Re: On the fwh there is this control ?
Posted: Sat Jan 09, 2010 12:04 AM

It is too hard for me
Ithinked to create another
Can I insert 3/5 dialog style ws_popup ( NO caption) into a window MDI and scroll them by a vertical scroll ?
where I can found a sample ?

FWH .. BC582.. xharbour
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: On the fwh there is this control ?
Posted: Sat Jan 09, 2010 10:49 AM

Mda,

How many sections will you be showing ?

You could create an user defined control that behaves exatly as your screenshots.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 401
Joined: Tue Jan 05, 2010 02:33 PM
Re: On the fwh there is this control ?
Posted: Sat Jan 09, 2010 05:16 PM

thanks Antonio for Your message

I explain You

the sections can be also many. I don't Know how...

I can use a scanner to save all sections and create obmp sections. and save all data informations as Mr Otto wrote

When I'll show this control that behaves exatly each sections ,

I must have also the possibility to insert small symbols ( bitmaps) and lines or arrow and re-save the new obmp .

Do you think it can be done on fivewin in easy way ?

FWH .. BC582.. xharbour

Continue the discussion