Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
trying to change form's caption on form_load
posted

I am using ultraToolbarsManager to change appearance of the form. On form_load I am changing the Text property of the form based on some criteria.
The problem is that the user only sees the change when he/she maximizes the form, after that the correct caption persists. Any suggestions?

Thanks,
Igor

  • 255
    Verified Answer
    posted

    Unfortuantly upgrading is not an option. But put the logic into InitializeComponent() method fixed the problem.

    Thanks,
    Igor

  • 37774
    Suggested Answer
    posted

    Igor,

    What version of NetAdvantage are you using?  I also assume that you're using the FormDisplayStyle of the ToolbarsManager to change the appearance of the form, using something like RoundedSizable.  I tried this out using the latest version of 8.2 by setting "this.Text = "TEST CAPTION";" in the form load event and I could see the text in the caption, so it seems like this issue might have already been addressed.  You can get the latest service release here.

    -Matt