Re: [NF] Winforms

2021-08-20 Thread Eric Selje
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

RE: [NF] Winforms

2021-08-20 Thread Graham Brown
Hi all Thanks for all your replies. Don't understand why Microsoft haven't sorted visual inheritance properly. WPF (sigh) another technology to study. -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Alan Bourke Sent: 20 August 2021 14:54 To: profoxt...@lea

Re: [NF] Winforms

2021-08-20 Thread MB Software Solutions, LLC
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

Re: [NF] Winforms

2021-08-20 Thread Christof Wollenhaupt
> 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

Re: [NF] Winforms

2021-08-20 Thread Stephen Russell
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

Re: [NF] Winforms

2021-08-20 Thread Ted Roche
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

Re: [NF] Winforms

2021-08-20 Thread Alan Bourke
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 ___

Re: [NF] Winforms

2021-08-20 Thread Matt Slay
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? >

Re: [NF] Winforms

2021-08-20 Thread Alan Bourke
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