Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buttons shifting right at runtime in JumpStart Applicati
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00819228
Message ID:
00819850
Views:
12
Kevin

I found that simply resetting the anchor property did not fix the entire problem. I still had controls that grew in size.

I have a fix that prevents "expanding controls that shift to the right". I changed a couple of settings which allowed me to continue with my development.

On the form I:
LOCKED=TRUE
AUTOSCALE=FALSE (that is a biggy)
STARTPOSITION=MANUAL

On every, every, every (did I say every) control I:
LOCKED=TRUE
ANCHOR=TOP,LEFT

Now the design version of the form with controls looks just like the runtime version.
What do you think is going on and why hasn't any one addressed this in a paper yet?
Neil


>Neil,
>
>>I am running version 1.0 of the MM framework. I have built the Windows Forms Application - C# twice and have experienced the same weird behavior both times. I added the CustomerOrdersForm to the project and changed the parent class as per the instructions. When I close and re-open the form I get the mmMaintenance form as I should with the tabcontrol and 3 buttons. I add the textbox, label, button and grid. I save the form and add the call to the form via the Activities menu bar. I press F5 and the mainform runs. The odd behavior is that the New, Delete and Close buttons disappear. I open the form in design mode to see that the buttons have repositioned themselves far to the right of the tabcontrol. I then reposition them and start the app once again. The buttons dance away to the right once again. What is going here? Do I have the vs ide set up wrong or is there a problem with thr mmMaintenance form in version 1.0?
>
>Unfortunately, Dave is right...this is a VS .NET issue that I have seen before but have not been able to resolve. I'll try to do some further research soon. For now, if you set the anchoring properties back to the default (Top, Left), the problem will go away.
>
>Regards,
Previous
Reply
Map
View

Click here to load this message in the networking platform