Ability of users to resize Winforms in application runtime


Author
Message
Curt Cadwell
Curt Cadwell
StrataFrame Beginner (2 reputation)StrataFrame Beginner (2 reputation)StrataFrame Beginner (2 reputation)StrataFrame Beginner (2 reputation)StrataFrame Beginner (2 reputation)StrataFrame Beginner (2 reputation)StrataFrame Beginner (2 reputation)StrataFrame Beginner (2 reputation)StrataFrame Beginner (2 reputation)
Group: Forum Members
Posts: 2, Visits: 9
Ok I'm VFP developer and have been developing in VMP framework yeah I know it's about time I get off the fence and start developing in .NET.

Well running the sample apps in Stataframe I haven't seen a way to resize the forms. I did look at the properties autoresize and anchor but noticed the .NET help say's it doesn't work on all the .NET controls and it lists the ones that don't work. My question is if VMP framework can do it in VFP surely .NET and Strataframe can?

I'm a Newbe so be gentle...

Thanks so much

Curt Cadwell

Replies
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Curt,



I took a look at the sight you indicated and you are correct, .NET doesn't support this sort of thing out of the box. What you want is for the size of the controls, fonts, graphics to proportionally resize as the form resizes. I.e. this is more of an accessibility issue. Someone with bad eye sight wants the form to be bigger, so they can see it more clearly, thus they want the buttons to be bigger, the fonts to increase...the information displayed is the same, just bigger.



.NET handles two other issues out of the box:



- resizing controls as the form resizes. This is what we've talked about in this post. The font and graphic size are constant, so resizing means that more or less info is visible. This behaves just like windows explorer does when resized. Make the form bigger, you see more file/folders. Make is smaller, you see fewer.



- scaling forms based on desktop resolution. .Net can handle resizing fonts, controls if the user changes their screen resolution. I.e. they change from 96 to 120 dpi, the fonts, controls get bigger.



So, you are either looking at a lot of work, or purchasing a solution such as the one you posted a link to. Sorry Ermm
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
You're only other option, Curt would be to move to WPF programming... since WPF forms can scale any size since they are all vector based.  However, there's not really any way to program in WPF right now except to write the XML code manually because the forms designers won't be available until the next version of Visual Studio.
William Fields
William Fields
StrataFrame User (328 reputation)StrataFrame User (328 reputation)StrataFrame User (328 reputation)StrataFrame User (328 reputation)StrataFrame User (328 reputation)StrataFrame User (328 reputation)StrataFrame User (328 reputation)StrataFrame User (328 reputation)StrataFrame User (328 reputation)
Group: StrataFrame Users
Posts: 80, Visits: 239
Hello Greg,

I'm in the same boat as many developers, my users want the ability to resize AND zoom forms/controls. I've seen a few WPF samples, and that's exactly what I'm looking for. But SF does not support WPF. Are there any plans to incorporate zooming capabilities in the SF framework, or has SF decided when WPF support will be incorporated into the framework?

Alternately, can anyone recommend the Fengari Software WinFormResizer product? It seems like a small price to pay for zooming capabilities.

Thanks.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search