Home > Default > Folder icon in a hierarchical tree

Folder icon in a hierarchical tree

November 30Hits:0
Advertisement
Hello, I don't know how can I put a folder icon in a hierarchical tree.
I have this query, and I know I have to change the 4th column, but I don't know how to do it.
SELECT -1,level,d_carpeta, null, id_carpeta
FROM DOCUMENTUM.doc_carpetas
START WITH id_carpeta_padre is null
CONNECT BY id_carpeta_padre = prior id_carpeta
and in the trigger (WHEN-TREE-NODE-SELECTED) I have this code
declare
htree ITEM;
n_selected NUMBER;
current_node FTREE.NODE;
begin
htree := Find_Item('blk_arbol_detalle.arb_carpetas');
n_selected := Ftree.Get_Tree_Property(htree, Ftree.SELECTION_COUNT);
FOR j IN 1..n_selected LOOP
current_node := Ftree.Get_Tree_Selection(htree, j);
if Ftree.Get_Tree_Node_Property(htree,
:SYSTEM.TRIGGER_NODE,Ftree.NODE_DEPTH) > 0 then
:blk_detalle.id_carpeta := Ftree.Get_Tree_Node_Property(htree,
:SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE);
else
:blk_detalle.id_carpeta := null;
end if;
END LOOP;
end;

Answers

Jesús,
just give it the name of an icon without the '.ico' extension. If you run it on the Web then the icon must be available in a gif format. Just the name nothing else. Make sure that in c/s the icon is in a directory mapped by the UI_ICON variable in of the Window Registry. For configuring icons on teh Web, have a look at this paper
http://otn.oracle.com/products/forms/pdf/webicons.pdf
If you need different folder icons on different tree levels, then instead of using a query, use a record group to populate the tree.
Frank

Read other 3 answers

Tags:

Related Articles

  • Folder icon in a hierarchical treeNovember 30

    Hello, I don't know how can I put a folder icon in a hierarchical tree. I have this query, and I know I have to change the 4th column, but I don't know how to do it. SELECT -1,level,d_carpeta, null, id_carpeta FROM DOCUMENTUM.doc_carpetas START WITH

  • Hierarchical Tree Icon AlignmentNovember 30

    Hi I am able to create and display a hierarchical tree with icons in the nodes okay. The default is that the icon is placed at the left of the node (like a folder icon on windows explorer). Is there any option to display icon at right side of node? I

  • Can i have a check box in the hierarchical tree in the icons place, urgent!!! pleaseOctober 11

    Hi, I'am working on the Hierarchical Tree structure which should have three levels, I need to have a check box in the place of the icon & if i select a node that node & the child nodes should get selected. After this when i say move selected ( i'a

  • How to go to a particular node in a hierarchical tree?October 11

    I want to do this simple thing with a Forms hierarchical tree. Since tree has lots of levels and branches I want to give a search box. User types the label and press a button. The form then has to query the tree node and expand ONLY the path where th

  • URGENT *** Hierarchical Tree in Forms 9i *** URGENTOctober 11

    Hello everybody, for my company I need to build a hierarchical tree item, that will display static data over three levels. Let's say: departments, employees and employee projects. How do I fill the Item? When do I fill the Item? Where do I fill the I

  • Hierarchical Tree error - fighting for over a yearOctober 11

    For over a year now, our Oracle forms have presented an elusive problem with Hierarchical Trees. First some core information: We are running Developer 6i, patchset 8, on a Sun host and an Oracle 8i database. Our forms are deployed over the web on the

  • It's possible to make Hierarchical Tree from multiple tables ?October 11

    the famous example for Hierarchical Tree is about employee_id and manager_id field in employees table ............ so I was wondering it's possible to make[b] Hierarchical Tree from multiple tables ? and How ?? if the answer associate with example th

  • How to set the control-on hierarchical tree nodesOctober 11

    Hi, I have created form in which at the left it has hierarchical tree structure(BOM) and towards the right it brings up the query results for selected node. Now, I have a button upon clicking which I navigate to the root node by issuing "Ftree.set_Tr

  • Finding proper help on Hierarchical TreesNovember 30

    Have spent a couple of hours trying to navigate the sprawling website of oracle.com with the purpose finding and then downloading the appropriate help file. I downloaded Oracle9i Developer Suite Release 2 Documentation Library from http://www.oracle.

  • Add checkbox on the nodes of Hierarchical tree in oracle forms 9iNovember 30

    Hi, I am working on oracle forms 9i.I have to add checkbox at the place of node(+/-) in Hierarchical tree so, that user can select or deselect the Tree.That can do in oracle forms but how i don't know. can anybody help me..... Regards, HemantYou can'

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 1.701 s.