Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making WinForms the same as VFP Forms
Message
 
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01442283
Message ID:
01442351
Views:
47
>>Hi,
>>
>>Has anybody tested (or knows) that when designing WinForms I can use the same dimensions and positions of forms and controls in .NET WinForms as they are in VFP forms? From the appearance they looks kind of sort of the same but I am not sure. And I would like the WinForms to be exactly the same as VFP forms.
>
>Not sure I agree with Craig here. If all you want to emulate is size and position then it should be easy enoough to come close enough for the user to feel comfortable (which I assume is your object).
>Of course with WPF you could *exactly* emulate the VFP UI (but I don't think you'd want to go there).....

You are correct that my objective is to make WinForm look exactly as VFP form. And I agree that I can do it by trial-and-error. My question was if I can simply use the same Height/Width/Top/Left values from VFP forms to set them in WinForms. And from some of the tests I did last night it won't work. The size of form and controls are similar but not the same if you use the same values from VFP forms in WinForms.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform