[Gambas-user] Icon/Path question.

richard terry rterry at ...1946...
Tue Jul 21 00:55:43 CEST 2009


This will probably sound confused and vague but here goes.

In my project directory I've an icons directory and subdirs

I want to use one of these icons on an html form which I generate once the 
program is running, and to do that I have elected to substitute the %image% 
in this text with the path:

"<IMG SRC='%image%' NAME=5%image_name%' ALIGN=LEFT WIDTH=15 HEIGHT=15 
BORDER=0>%accompanying_text%<BR CLEAR=LEFT>"

The icon exists in my code as this:

"/home/richard/coding/trunk/icons/12/checkbox_checked.png" 

How do I deal with this using some sort of relative path and temporary file

Hope that's not too confusing.

Thanks for any help.

Richard





More information about the User mailing list