Navigator with Icons in Forms5.0

From: Klein Joachim <klein6_at_student-zw.fh-kl.de>
Date: Tue, 27 Jul 1999 18:14:14 +0100
Message-ID: <7nklv5$1ro$1_at_sun.rhrk.uni-kl.de>



Hello

I have to program a Navigator for Forms5.0 with a TreeView like the Exloperer Tree View.
I know that this feature is included in Forms6.0, but i need a implementation for Forms5.0

There is two ways to implement this:
1. I use just the features included in Forms5.0 --> (then it is not possible to use Symbols (Icons) for the Tree View Nodes) 2. I use the OCX Control Microsoft TreeView 5.0 --> in this case i found no example how i get a handel to an Icon.

The function to include the node with an Icon is implemented:

COMCTL_DTreeItems.ole_Add

FUNCTION ole_Add(

                          interface OleObj,
                          Relative OleVar := OleVar_Null,
                          Relationship OleVar := OleVar_Null,
                          Key OleVar := OleVar_Null,
                          Text OleVar := OleVar_Null,
                          Image OleVar := OleVar_Null,

<--- how can i fill up
SelectedImage OleVar := OleVar_Null

<--- this parameters

) RETURN ComctlLib_CONSTANTS.Node;

but how can i get an handel to this icon so that i can call this function with this handel???

Have you any idea ???

Thanks

Joachim Klein Received on Tue Jul 27 1999 - 19:14:14 CEST

Original text of this message