| | | StrataFrame User
       
Group: StrataFrame Users Last Login: 11/27/2008 10:53:17 AM Posts: 314, Visits: 1,276 |
| | I have an 800x600 SF DevEx Maintenance form. When this screen is maximized in run-time all the controls resize correctly, however when I start the screen in maximized state, via setting the form property or within the code itself, the Gradient Form Header remains at the normal width. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 12/02/2008 4:42:46 PM Posts: 2,686, Visits: 1,890 |
| Does the GradientFormHeader itself stay at the normal width, or does it resize itself, but the gradient does not redraw? Also, is the GradientFormHeader set to Dock = Top?
www.bungie.net |
| | | | StrataFrame User
       
Group: StrataFrame Users Last Login: 11/27/2008 10:53:17 AM Posts: 314, Visits: 1,276 |
| | GradientFormHeader set to Dock = Normal. Everything redraws excepts the GradientFromHeader remains at the defined width. I am able to recreate on a new StrataFrame Application. Add a new SF DevEx Maintenance Form to a project. Set the form WindowState = Maximized. Run the app. You should see the results. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 12/02/2008 4:42:46 PM Posts: 2,686, Visits: 1,890 |
| | Aha, I didn't realize this was a DevEx Maintenance Form template... yes, I can reproduce it using those steps. As it turns out, the form is not managing the size of its child controls even though the Anchor of the GradientFormHeader is set to both Left and Right. I added an extra event handler that will remove itself after it fires one time to resize the GradientFormHeader the first time the form resizes. Seems to have fixed the problem, and it will be fixed in the 1.5 release that will be available next week.
www.bungie.net |
| |
|
|