Home » Developer & Programmer » Forms » Design navigator using tree property
Design navigator using tree property [message #246095] Tue, 19 June 2007 21:53 Go to next message
lakshmi surya ram
Messages: 188
Registered: June 2006
Location: HYDERABAD
Senior Member

Hi Folks,
I am working forms 6i.can you please tell me to design a navigator window like in Oracle Applications.
I have very few inputs.
can someone guide me in this staff?????bit urgent

Thanks in advance,
Surya
Re: Design navigator using tree property [message #247185 is a reply to message #246095] Mon, 25 June 2007 00:28 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you solved your problem?

David
Re: Design navigator using tree property [message #247217 is a reply to message #247185] Mon, 25 June 2007 02:01 Go to previous messageGo to next message
lakshmi surya ram
Messages: 188
Registered: June 2006
Location: HYDERABAD
Senior Member

Hi David,
Partly solved it. I designed the navigator and appearing good.
I have 5 forms.when I click on one node, it should call one form and the other click calls the other form.

how do I call the forms from the navigator?
thanks in advance,
Surya
Re: Design navigator using tree property [message #247256 is a reply to message #247217] Mon, 25 June 2007 05:14 Go to previous messageGo to next message
lakshmi surya ram
Messages: 188
Registered: June 2006
Location: HYDERABAD
Senior Member

JUST TELL ME THE WAY TO CALL TWO DIFFERENT FORMS FROM A NAVIGATOR FROM TWO DIFFERENT LABELS.

MODERATORS PLSSSSS THROW LIGHT ON THIS

THANKS IN ADVANCE
SURYA
Re: Design navigator using tree property [message #247494 is a reply to message #246095] Tue, 26 June 2007 02:25 Go to previous messageGo to next message
hemavb
Messages: 103
Registered: May 2007
Location: Dubai , UAE
Senior Member
IT IS JUST THE SAME AS YOU WOULD DO IN CASE OF A PUSH BUTTON OR A RADIO BUTTON OR A CHECKBOX...

AND PLEASE STOP SHOUTING!

You have to use one of the triggers that are attached to the Heirarchy tree item, namely WHEN-TREE-NODE-SELECTED and WHEN-TREE-NODE-ACTIVATED.
Using the FTREE builtin package of Forms.
Using a function from this package - GET_TREE_NODE_PROPERTY you can find out :
NODE_STATE Returns the state of the hierarchical tree node.
This is either EXPANDED_NODE, COLLAPSED_NODE, or
LEAF_NODE.
NODE_DEPTH Returns the nesting level of the hierarchical tree
node.
NODE_LABEL Returns the label
NODE_ICON Returns the icon name
NODE_VALUE Returns the value of the hierarchical tree node.

You can refer to the DEMO form if you want to see an example. OR use the Forms help. Search for FTREE.

Regards,
Hemavb
Re: Design navigator using tree property [message #247521 is a reply to message #247494] Tue, 26 June 2007 04:05 Go to previous messageGo to next message
lakshmi surya ram
Messages: 188
Registered: June 2006
Location: HYDERABAD
Senior Member

Hi Hemavb,
Should shout only when time is on your head.
Its not something like doing in pushbutton or radio button.
I achieved the functionality and will soon post the way I approached.
Please do not copy some lines from help or any source which is already posted many a times.

Can you please tell me where I can find the demo form?If I really found demo I wouldn't have posted a thread here..right.
A forum is a place to know things from known.
Please kindly give a correct way to approach becoz some times time may not permit to search also..right.
Pls co-operate
ANY WAYS THANKS FOR RESPONSE,
Surya
Re: Design navigator using tree property [message #247535 is a reply to message #246095] Tue, 26 June 2007 04:52 Go to previous messageGo to next message
hemavb
Messages: 103
Registered: May 2007
Location: Dubai , UAE
Senior Member
Here is a file which is attached. I have used stacked canvases as i wanted to display it like windows explorer.

Here instead of show_canvas/hide_canva, you can use call_form/open_form. I do hope you know how to use CALL_FORM/OPEN_FORM.

Demos are a part of your Forms Installation. If you have installed the complete version of D2k and not the typical, you will get a folder called TOOLS. Here you will find the demo forms... FMB files with the Coding. These generally work on the SCOTT user.
Path: D2K_home\TOOLS\DEVDEM60\DEMO\FORMS

And next time... A forum IS a place to know things from... not to do your coding for u.
---------------------------------------------------------------

Info on the attached form.
Each level of the form displays the list of its child level which are blocks on a stacked canvas.

Regards,
Hemavb

[Updated on: Tue, 26 June 2007 07:33]

Report message to a moderator

Re: Design navigator using tree property [message #247554 is a reply to message #247535] Tue, 26 June 2007 06:31 Go to previous messageGo to next message
lakshmi surya ram
Messages: 188
Registered: June 2006
Location: HYDERABAD
Senior Member

Hi Hemavb,
first of all,I haven't understood...why did you send the file?
I already informed that my work was done.
And next time... A forum IS a place to know things from... not to do your coding for u.(who asked you the code?)
---------------------------------------------------------------


You waited till I shout to post your known views. Is that your responsibility. Forum is the best place to share knowledge but at the right time...not after making people desparate.
I always asked to guide me.And for your mistake you are not clear in mentioning the correct path in your last post.And now you did that.So,you agreed you are not guiding us in the righteous path.
Learning from mistakes is very good but not in forums. People like me suffer.

I did my coding in the most compact way and still I havn't posted becoz I guide people and expect the same others not code/fmb files...

thanks,
Surya
Re: Design navigator using tree property [message #247577 is a reply to message #247554] Tue, 26 June 2007 07:33 Go to previous messageGo to next message
hemavb
Messages: 103
Registered: May 2007
Location: Dubai , UAE
Senior Member
Fine by me bro.

SInce it is not needed the file has been deleted from the previous post.

Nice to know that you have done it on your own. Good for you.

And o yeah, and because of...
"Can you please tell me where I can find the demo form?If I really found demo I wouldn't have posted a thread here..right."

I have given you the path of the demo files and so that you dont get confused explained the type of installation required to these files to be here.

By the way all of us do not come to these posts every day... I am NOT a mod and i donot speak for anyone else. No one on this forum would want anyone to suffer, not deliberately at least. Since you had not posted anything more... after your last post, i just put in a remark. These is absolutely no need to get soooooooo senti about things.

Paths my frnd are for u to find. If you don't know something ask. That is what this forum is for. Be sarcastic and arrogant and that is what you will get in return. All of us are here for learning more.

Hemavb.

[Updated on: Tue, 26 June 2007 07:43]

Report message to a moderator

Re: Design navigator using tree property [message #247711 is a reply to message #247577] Tue, 26 June 2007 23:44 Go to previous messageGo to next message
lakshmi surya ram
Messages: 188
Registered: June 2006
Location: HYDERABAD
Senior Member

Hi Hemavb,

Today is a fresh day...lets have a new start.

I have created the navigator. Now I have three responsibilities like senior,junior and sub-junior.
Senior have all rights to access to all forms in the navigator, but for junior a few forms should disappear from navigator like wise with the subjunior also.
now,how I can kick off my process?Actually I was trying with one more tree in a separate block in the same form.I do not think what I was doing is correct.
Please guide me.

thanks in advance,
Surya
Re: Design navigator using tree property [message #252516 is a reply to message #247711] Thu, 19 July 2007 01:33 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
@Hemangi,

If you would care to post the form again I would be interested in looking at it. Trees are the one area in which I have no experience.

David
Re: Design navigator using tree property [message #258476 is a reply to message #246095] Sun, 12 August 2007 09:06 Go to previous message
hemavb
Messages: 103
Registered: May 2007
Location: Dubai , UAE
Senior Member
Surya,

Sorry for the very very late reply...
Have u got your solution?

Lemme know.
Previous Topic: resize FRAME at runtime
Next Topic: List item problem
Goto Forum:
  


Current Time: Sun Feb 09 19:53:58 CST 2025