On Thu, 2 Jan 1997, Glen Walker wrote:
> My problem is this: every time I want to use this with vtcl, I have to load
>the cmp:makeCombo proc into vtcl by using a cut and paste into the vtcl function
>editor. This seems rather awkward. Since the notion of compound widgets is one that
>can yield h
igh efficiency, would it be possible to have vtcl load a library of procs in
association with the compound widgets? (Or perhaps honour the auto_path variable or
something?)
>
> As I said, I'm new here, so perhaps there's something I'm missing. I'd
>appreciate it if someone could find a way to simplify this procedure.
Glen,
You're not missing anything. I haven't yet added the ability to include
functions in compounds, but it is planned.
The method I was thinking of using to do this was to save into the
compound any procedures that began with the same name as the compound
when the compound was created. For example, if you had the procedures:
LISTBOX:save
LISTBOX:clear
LISTBOX:add
and you created a compound called LISTBOX, they would be embedded.
When the compound was then "pasted" into an application, the embedded
procedures would be added.
Would this solve your problem?
-stewart-