Results 1 to 6 of 6

Thread: icon

  1. #1

    icon

    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

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: icon

    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
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3

    Re: icon

    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

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: icon

    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
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  5. #5
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: icon

    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
    Attached Files Attached Files
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  6. #6

    Re: icon

    Hi

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

Similar Threads

  1. bundle icon
    By largo_winch in forum Modules specific issues
    Replies: 8
    Last Post: 03-05-2011, 17:12

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •