FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour tree in a dialog with multiples dialogs
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
tree in a dialog with multiples dialogs
Posted: Thu Nov 16, 2017 11:29 AM
How I can create a tree on sx with multiple dialog at dx as a setup configuration dialog ? ( see the picture)

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: tree in a dialog with multiples dialogs
Posted: Fri Nov 17, 2017 05:45 AM

+1

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: tree in a dialog with multiples dialogs
Posted: Fri Nov 17, 2017 08:56 AM

I found testtre4.prg but it is on Window I wish on Dialog

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: tree in a dialog with multiples dialogs
Posted: Fri Nov 17, 2017 05:48 PM
Silvio,
it is possible to paint a dialog on dialog to display something selected from the tree
the SPLITTER is replaced with a sub-dialog connected to the main-dialog.
You tested < testtre4.prg > as a solution. I changed window with dialog that was Your question.

I found testtre4.prg but it is on Window I wish on Dialog


You have to call the buildtree-function on maindialog INIT using sample < testtre4.prg >

replace

DEFINE WINDOW oWnd FROM 3, 6 TO 20, 70 ;
TITLE "Welcome to " + FWVERSION COLOR "N/W"


with

DEFINE DIALOG oDlgMain FROM 10, 10 TO 360, 450 PIXEL TRUEPIXEL ;
FONT oFont TITLE "MULTIPLE DIALOGS with tree"



..
..
ACTIVATE DIALOG oDlgMain CENTERED ;
ON INIT ( BUILDTREE( oTree ), ;
...
...


FUNCTION BUILDTREE( oTree )

oItem1 := oTree:Add( "Page - 1", 1 )
oItem1:Cargo = {|| CleanSlate( oDlgChild )}

oItem1:Add( "Sub 1", 1 ):Cargo := {|| SHOW_CHILD1() }

oTree:Add( "Page - 2", 1 ):Cargo := {|| SHOW_CHILD2() }

RETURN NIL




everything is possible : data display on different locations



regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: tree in a dialog with multiples dialogs
Posted: Fri Nov 17, 2017 06:43 PM

pls read good my message to charles..

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: tree in a dialog with multiples dialogs
Posted: Fri Nov 17, 2017 07:01 PM
Silvio,
where is this message

:-) :-) :-)
pls read good my message to charles..


regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: tree in a dialog with multiples dialogs
Posted: Fri Nov 17, 2017 07:10 PM

sorry I wrote to manuelcalero
I ask to make another thing... the dialog on my picture have a dialog with scroll
I'm sorry but there are many times that someone pretends not to understand or does it special to make me waste time
such as the "crop" program. you've bolted your shoes all the way to want to use the tgroup class while the solution was another and much simpler, that is to draw with the mouse a dotted box. Sometimes I let you do but know that doing this is wrong...
.....to turn the window into dialog... do you think I am not capable?

viewtopic.php?f=6t=34872start=0

&&

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: tree in a dialog with multiples dialogs
Posted: Sat Nov 18, 2017 09:36 AM

Silvio,

People in this forum are only trying to help other people !!

Nobody can give total solutions, but parts and mostly they come with a solution.

Not all answers can be given, but keep this please in mind. They are only trying to help !!
With this kind of posts, i'm afraid that users could react : I don't care, and the nobody will get any help anymore.

Marc

Keep up the good work folks ! I benified a lot of all of your post's ;;;;

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: tree in a dialog with multiples dialogs
Posted: Sat Nov 18, 2017 10:03 AM

Good Marc....criticisms are good to improve

When I want to give help to someone, if I do not know the answer, I do not answer other suggestions !!!

Example :
If one wants black coffee and I suggest a glass of wisky ... it's not the same thing ...

But you said that people are trying to help, well I helped find a bottle of wisky and not looking for coffee ...

is it this the spirit?

I'm sorry I did not know that a forum is a place where one asks "A" and answers "B" ...

Now that I am aware of what is a forum ... I'm quieter!!

.:: did you read all my posts?... well then you've certainly learned something ::...

NB: When a topic concerns me only, I'm sure I have no answers ... when it will affect the community ... then you will see that everyone will race to be the most beautiful of the chicken ...

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion