Re: treeview in a dbc R.I.

From: Michel Levy (stop.michelvfplevy_at_nospam.yahoo.fr)
Date: 03/01/04


Date: Mon, 1 Mar 2004 17:14:05 +0100

Rick,
Why?
only because I tried unsuccessfully to do it ....

In my R.I., I have :
******
procedure myRII
omonform=newobject("monform")
...
return .t.

Define class Oletrw as olecontainercontrol
 Add object montrw1 as montrw
Enddefine

Define class montrw as olecontrol
 OleClass="mscomctllib.treectrl.2"
Enddefine

Define class monform as form
 Add object montrw1 as montrw
Enddefine

****
It runs, I've got my treeview and I can work on it. But It seems me
unnecessary to use a visual control as a form to store my treeview.

Do you think I can use < define class monform as custom >, or anything like
that?

Thanks

"Rick Bean" <rgbean@unrealmelange-inc.com> a écrit dans le message de
news:utVeIW6$DHA.2180@TK2MSFTNGP09.phx.gbl...
Michel,
If you aren't using the visual aspects, why not just use a container or
custom object?

Rick

"Michel Levy" <stop.michelvfplevy@nospam.yahoo.fr> wrote in message
news:eoRfU05$DHA.620@TK2MSFTNGP11.phx.gbl...
> Hello,
>
> I try to use a treeview (for its non-visual properties) in a R.I. stored
> procedure of a dbc.
>
> Is it possible ?
>
> How can I create an instance of this object in a RI ?
>
> Michel (in France)
>
>