Thanks for all the suggestions. I'm avoiding ActiveX for various reasons,
but even using the base tags, I think I've hit a wall.
Seems that while I can use a URL as the image path, there are a few things
I've noticed:
1) the <imagegroup> must come directly under the <window> tag, not just
appended somewhere as a child (minor, non-issue, but worth noting).
2) I can load and swap images, as long as the <image> is defined during my
initial XUI load.
3) I can't seem to load an image if I add the <image> after the fact, or if
I change the @path of the <image> after the fact.
Oh well, back to the drawing board.
- keith
On Thu, Oct 31, 2013 at 11:00 AM, Chris Nitchie <
chris.nitchie@oberontech.com> wrote:
> I've done this in the past by embedding an Editor ActiveX control on
> the XUI dialog, and using it to render a document of my doctype containing
> an empty graphic element, and updating that graphic reference's href and
> scaling attributes (so it fit in the window, and by calling a jscript
> function due to ACL's lack of floating-point support) as necessary. It
> wasn't fun, nor easy, nor altogether pretty (the Editor ActiveX control has
> a thick beveled border you can't remove), but that's the only way I could
> figure out to do it. In my case, I had to support any graphic format the
> Editor supported; if you've got a set format, and an ActiveX-capable
> viewer, that might be a more natural fit.
>
> You can get a sense for how to work with embedded Editor ActiveX
> controls from $aptpath\packages\main\_entitiesdlg.acl and the related XUI
> at lib\dialogs\fileent.xml (which contains some embedded jscript code that
> exposes the various ACL Ids for the embedded window and document to the ACL
> code).
>
> Chris
>
> *Chris Nitchie*
>
> (734) 330-2978****
>
> chris.nitchie@oberontech.com
>
> www.oberontech.com****
>
> [image: cid:image001.jpg@01CE6901.A84DFC50]
> ****
>
> [image: cid:image005.png@01CE6903.8131DC70]<
">https://twitter.com/oberontech>> ****
>
> [image: cid:image006.png@01CE6903.8131DC70]<
">http://www.linkedin.com/company/oberon-technologies>> ****
>
>
>
>
>
>