VDC and icon paths.
Vince Callaway <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAL=AZZaZO4hOVLdWRV2LYYmoB_AN=KTkhb9_QVQB_jMzcVq6Ug@mail.gmail.com> |
Sorry to pose so many questions. There are not too many examples to learn from.
I thought it would be nice to be able to use my own icons for various
things and some stuff works and some does not.
One thing that does NOT work.
Send an icon to the client:
IF aclfgl_sendfile_to_ui("./pics/oopsy-icon.png") THEN END IF
Function that wants to use that icon:
FUNCTION oops_window(l_message)
DEFINE
l_message STRING
MENU "Oops" ATTRIBUTES(STYLE="dialog", COMMENT=l_message CLIPPED,
IMAGE="oopsy-icon")
COMMAND "Ok"
EXIT MENU
END MENU
END FUNCTION
The file is sitting in the client temp directory but does not display
it. Now if I have the icon in the VDC/pics directory it will.
Sending icon files to display in form fields works. So it looks like
for dialog menus and action defaults the temp directory is not being
included. It would really make things more versatile if it did.
Thanks.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/