variable instead of string for widget paramet

Help
2004-02-13
2004-02-17
  • schoenborno

    schoenborno - 2004-02-13

    Hello,
    When I create a wxPanel in a wxFrame, is there a way of telling Boa to generate

    wxPanel(..., size=self.size, ...)

    instead of

    wxPanel(..., size=wxSize(...), ...)

    ie to use an attribute as value for a widget property, instead of hardcoded values ("", wxSize, etc)?

    Thanks,
    Oliver

     
    • Riaan Booysen

      Riaan Booysen - 2004-02-16

      Hi Oliver,

      Yes this feature is supported by Boa.

      Please see the documentation for "Special Frame Attributes" in the help file Docs/boa/apphelp/MixingSource.html

      PS, most properties and constructor parameters can be set like this, but not Position and Size (because the Designer overrides these when you visually place and resize controls.)

      Cheers,
      Riaan.

       
    • schoenborno

      schoenborno - 2004-02-17

      Sorry for missing that. Figures that size and position are the two that I tried  8-P

      Oliver

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks