> Thanks for all your replies. Don't understand why Microsoft haven't sorted
> visual inheritance properly.
You're assuming that they view it as a problem. If they did they'd have fixed
it in the .NET Core version of WinForms.
--
Alan Bourke
alanpbourke (at) fastmail (dot) fm
_
That is a shortfall, but WPF does a lot of things that we would LOVE to
have in VFP (e.g. CSS llke Styles, much better responsiveness than our
anchors, etc.)
Eric
On Fri, Aug 20, 2021 at 12:26 PM MB Software Solutions, LLC <
mbsoftwaresoluti...@mbsoftwaresolutions.com> wrote:
> Wow...I see you c
o: profoxt...@leafe.com
Subject: Re: [NF] Winforms
Graham
I'd definitely consider Windows Presentation Foundation over Winforms if
this inheritance thing is a problem for you, because WPF *does* support that
sort of visual inheritance, and i will set you up for WinUI going forward.
--
Wow...I see you created that in 2019. I can't believe what I saw...I'd
have expected it to work much better than that. VFP has been
off-support officially for 4+ years by that time yet the "old girl"
still looks better for designers given this obvious shortfall.
On 8/20/2021 8:44 AM, Matt S
> I'd definitely consider Windows Presentation Foundation over Winforms if this
> inheritance thing is a problem for you, because WPF *does* support that sort
> of visual inheritance, and i will set you up for WinUI going forward.
Coincidentally, there is also a session about using WPF in Visual
That text goes into the details of how I said to do it. Thus I agree that
it can be done and re-used.
Now the Q I have is WHY? If you have branded UI button styles? What else
are you extracting to re-use with your enhancements on time and again?
Create the control library project
Define a cus
On Fri, Aug 20, 2021 at 8:44 AM Matt Slay
wrote:
> Here’s a YouTube video I made about WinForms UserControl and how it does
> not work like our beloved FoxPro does.
>
> https://youtu.be/gWONvlLSq3U
>
>
>
That's a great demo, Matt!
--- StripMime Report -- processed MIME parts ---
multipart/alter
Graham
I'd definitely consider Windows Presentation Foundation over Winforms if this
inheritance thing is a problem for you, because WPF *does* support that sort of
visual inheritance, and i will set you up for WinUI going forward.
--
Alan Bourke
alanpbourke (at) fastmail (dot) fm
___
Here’s a YouTube video I made about WinForms UserControl and how it does not
work like our beloved FoxPro does.
https://youtu.be/gWONvlLSq3U
Matt Slay
> On Aug 20, 2021, at 6:01 AM, Alan Bourke wrote:
>
> On Wed, 18 Aug 2021, at 5:34 PM, Graham Brown wrote:
>
>> What am I missing?
>
On Wed, 18 Aug 2021, at 5:34 PM, Graham Brown wrote:
> What am I missing?
You're not missing anything. Visual inheritance in the Windows Forms designer
does not work like VFP, Delphi or whatever. It didn't in 2002, and on
inspection still doesn't now.
This is how you do it with a UserControl
om
Subject: Re: [NF] Winforms
It's been many years since I used WinForms but if I remember visual
inheritance and WinForms designer support in Visual Studio don't work the
same as you would be used to from VFP or VB6. Basically you have to
programmatically add designer support, or as you
--
From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Stephen Russell
Sent: 18 August 2021 17:12
To: ProFox Email List
Subject: Re: [NF] Winforms
You could create a project where you subclassed any form widget in your way.
Then in every new solution, you include that project and use those cla
You could create a project where you subclassed any form widget in your way.
Then in every new solution, you include that project and use those classes
at the top instead of:
using System.Windows.Forms.Form
you would use :
using MyUberCoolSystem.Windows.Forms.Form
Just like you had to do in VF
It's been many years since I used WinForms but if I remember visual inheritance
and WinForms designer support in Visual Studio don't work the same as you would
be used to from VFP or VB6. Basically you have to programmatically add designer
support, or as you say programmatically update any contr
14 matches
Mail list logo