Results 1 to 3 of 3

Thread: No more icons from dll?

  1. #1
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    55
    Posts
    1,554
    Rep Power
    174

    No more icons from dll?

    Since a few days i discovered that it does no more show the icons when i load them from a dll to display them on buttons. I am not sure if its caused by thinBasic- changed Mainfest? or Are the buttons (UI-standard buttons) different- or is there somethin wrong with my system?
    can anyone try in 1.11.7 - can you see icons?
    Attached Files Attached Files
    Last edited by ReneMiner; 02-03-2022 at 01:29.
    I think there are missing some Forum-sections as beta-testing and support

  2. #2
    with v1.11.7 windows 7 x64
    from the IDE the buttons does not show icons
    but the bundled code show the icons like this
    Attached Images Attached Images

  3. #3
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    55
    Posts
    1,554
    Rep Power
    174
    yes strange. tzhe icons are in the dll also - not insde the folder only. any other tb-samples (treevieb|Tab ) that show icons from imagelist are not a problem. and it was running before from ide that icons were visible- no matter where loaded from.

    really bad because i don't know the cause and i put a lot of time already into a project that works based on icon-data provided by dll, like it will sort- according to the ressource-name the icons from the dll into multiple different iconlists (actually imagelists) with a name approach - as "my_computer__C", "my_computer__D" and "my_computer__O" - __c (__Closed-state) shows the pc-icon with a black monitor screen , __O , showing a light blue monitor would get sorted parallel into an associated imagelist "__d" were a grayed -Disabled icon-for use on the tree disabled were a software-enforced state since if we have to disable only one node - we can not disable the complete tree for that - all imagelists are parts of the same iconlist-udt that also manages the names and thats purpose is to supply icons for a treeview for the node-states open|closed|disabled|selected|readOnly etc.
    in all imagelists the same icons namebase causes the icons to be in the same position within all lists and only the namebase
    ("my_computer" of "my_computer__s" is the name base" , "__s" is the suffix for just the current state (here to show selection-mode)

    Its also meant for toolbar|Menubar connected with each other (toolbar just shows the most important buttons of actions available through menu
    toolbar will hold same icons as the menu - but in different sizes as 18x18 for the menuitems icons, 24x24 for the toollbar icons - both would show the on level of detail adjusted image - not just stretched - that would lead to artifacts and pixelation in these small sizes but - since a dll can provide the icons in 2 sizes per icon - hand crafted and individually pre-checked for the correct looks so there will be no guessing.

    and not only for existing standard-controls with 2 or more states but also to make use of image-controls that show any switches, levers, handlebars, knobs etv. and a simple variable are the most easy implementation of customized controls.

    Now as long i don't know what causes the icons not being visible the project lands onto a pile of un...done projects - there is so much more to discover, maybe i will have forgotten soon
    I think there are missing some Forum-sections as beta-testing and support

Similar Threads

  1. Icons for thinBasic
    By ErosOlmi in forum Suggestions/Ideas discussions
    Replies: 8
    Last Post: 10-01-2012, 15:38
  2. using icons in listbox
    By sandyrepope in forum thinBasic General
    Replies: 0
    Last Post: 09-11-2007, 03:59
  3. using our own icons
    By sandyrepope in forum thinBasic General
    Replies: 7
    Last Post: 07-10-2007, 01: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
  •