PDA

View Full Version : icon



Sean Con
22-07-2010, 00:10
hio

I am using the latest stable release.

However, the dialog set icon is not working
i have the icon file .ico in the same directory as the app.

can anyone help? what is the correct systax of dialog set icon

i do this:

dim iconloc as string
iconloc = app_sourcepath + "icon.ico"
dialog set icon mainwin, iconloc
dialog show modal ...... etc

this is not working

regards
s

ErosOlmi
22-07-2010, 06:06
Hi Sean and welcome to thinBasic community forum.

Here DIALOG SET ICON ... seems working fine.

What icon are you trying to load? I mean, what size?
Is it possible to ZIP your icon file and attach in this post so I can check?

Ciao
Eros

Sean Con
22-07-2010, 21:37
Hi

Thanks for the quick reply

Here is the icon. http://www.4shared.com/file/mPB39iuk/Saturn.html

also, the application is a planetary ephmeris calculator
the first few lines of code is here: http://www.4shared.com/file/rtimfuz8/test.html

regards
S

ErosOlmi
22-07-2010, 23:53
Hi Sean,

can you please attach your files here in a reply?
Just click on "Additional options" link when you make a new post to attach a file.

I'm sorry but I do not like that downlaod sites full of "subtle" links.

Thanks
Eros

ErosOlmi
23-07-2010, 00:04
OK, I got the icon file.
Your file is a multy icon 200KB file currently not supported by thinBasic

Use attached 32x32 icon file and it should work.
Maybe in future thinBasic versions I will add support for such files, sorry

Eros

Sean Con
25-07-2010, 11:52
Hi

thank you for the quick reply. you suggestion really worked!!
thanks