Results 1 to 3 of 3

Thread: UI difference between bundled app and running from thinAir

  1. #1

    UI difference between bundled app and running from thinAir

    I get different styles of controls when I bundle my app:

    Click image for larger version. 

Name:	ThinBasicUIDifferences.PNG 
Views:	14 
Size:	43.4 KB 
ID:	9821

    On the left you'll see the way it looks when run from a bundled an app.

    On the right is how it looks when run from ThinAir.

    Is there an easy way to maintain consistency across both ways of running the program? (i.e. make them both look the same)

    This is on a Windows 7 computer.

    *Brian

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,281
    Blog Entries
    2
    Rep Power
    10
    Yes, it's a bug.

    Bundled executables are produced adding themed manifest in the executable produced by thinBundle.
    So the operating system (Windows) creates windows and controls in themed layout.

    When you execute a script from inside thinAir, the script is executed by the thinBasic.exe executable that has no manifest file inside.
    The operating system (Windows) does not find the theme inside the manifest so it creates windows and controls using unthemed layout.

    I will add theme manifest inside thinBasic.exe to uniform the layout.

    Reference: https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx

    Thanks
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  3. #3
    Very good! Thanks for the explanation. It's not a huge deal to me, but it does mean I have to use the bundled app to generate all training documentation. I'm also having trouble with fonts changing as I run the code on different machines, but I think that's a separate issue.

    *Brian

Similar Threads

  1. Replies: 4
    Last Post: 27-11-2008, 17:12
  2. Replies: 5
    Last Post: 10-09-2008, 16:38
  3. difference between .tbasic and .tbasicc
    By sandyrepope in forum Console
    Replies: 4
    Last Post: 22-05-2008, 23:29
  4. what's the difference
    By sandyrepope in forum UI (User Interface)
    Replies: 3
    Last Post: 14-01-2008, 23:17

Posting Permissions

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