#11 Toolbar Bitmaps

closed
Riaan Booysen
None
5
2003-02-25
2003-01-27
Anonymous
No

Toolbar bitmap locations are hard-coded into the
application with Boa Constructor. There appears to be
no way for a user to change the location. This creates
two problems. First is code portablility between
Windows computers and Linux computers. (I use one of
each to program applications). The application directory
is different on each of these machines. Creating an
application on one platform, then moving the code to
another platform breaks the hard-coded location.
Second, it does not allow for the use of bitmaps that
have been embedded (compressed) into a Python
module using img1py.py.

bmeldrum@infowest.com

Discussion

  • Riaan Booysen
    Riaan Booysen
    2003-02-25

    Logged In: YES
    user_id=438

    I'd like to support alternative ways to load bitmaps, but apart
    from the tricks used in the Boa source (see Editor.py or
    Inspector.py), this is not yet supported.

    What is supported is to use relative paths for bitmaps.
    To do this change the following Preference setting:
    Preferences->General->Code generation-
    >cgAbsoluteImagePaths

    Hope this helps in the meanwhile,
    Riaan.

     
  • Riaan Booysen
    Riaan Booysen
    2003-02-25

    • assigned_to: nobody --> riaan
    • status: open --> closed