tree in a dialog with multiples dialogs

tree in a dialog with multiples dialogs

Postby Silvio.Falconi » 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)

Image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: tree in a dialog with multiples dialogs

Postby Horizon » Fri Nov 17, 2017 5:45 am

+1
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: tree in a dialog with multiples dialogs

Postby Silvio.Falconi » Fri Nov 17, 2017 8: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: tree in a dialog with multiples dialogs

Postby ukoenig » Fri Nov 17, 2017 5: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


Image

everything is possible : data display on different locations

Image

regards
Uwe :D
Last edited by ukoenig on Fri Nov 17, 2017 7:09 pm, edited 7 times in total.
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: tree in a dialog with multiples dialogs

Postby Silvio.Falconi » Fri Nov 17, 2017 6: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: tree in a dialog with multiples dialogs

Postby ukoenig » Fri Nov 17, 2017 7: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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: tree in a dialog with multiples dialogs

Postby Silvio.Falconi » Fri Nov 17, 2017 7: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=6&t=34872&start=0
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7090
Joined: Thu Oct 18, 2012 7:17 pm

Re: tree in a dialog with multiples dialogs

Postby Marc Venken » Sat Nov 18, 2017 9: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.04 with Harbour
User avatar
Marc Venken
 
Posts: 1456
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: tree in a dialog with multiples dialogs

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7090
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 72 guests