Discussion or request for adding non-visible classes to the VS toolbox

This forum is meant for questions about the Visual FoxPro Language support in X#.

Post Reply
User avatar
xinjie
Posts: 116
Joined: Wed May 20, 2020 10:05 am
Location: China
Contact:

Discussion or request for adding non-visible classes to the VS toolbox

Post by xinjie »

Hi, XSharp Development Team

I don't know if what I'm talking about was ever on your radar.
What I'm trying to say is that I want to be able to add non-visible controls to the VS toolbox in the easiest way possible, just like the timer/ErrorProvider controls in the .NET Framework can be displayed normally in the toolbox.

Such a requirement may be beyond the scope of syntactic compatibility. Or maybe it is of no interest to other XBase developers. However, VFP developers need it if I know from personal experience.

I don't really know if the devs care about this, but I hope dreams come true. I'm also hoping that someone will participate in this thread.
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!
User avatar
xinjie
Posts: 116
Joined: Wed May 20, 2020 10:05 am
Location: China
Contact:

Re: Discussion or request for adding non-visible classes to the VS toolbox

Post by xinjie »

Note: When I say “non-visible controls”, I usually mean based on XSharp.VFP.Custom .
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!
User avatar
robert
Posts: 4585
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Re: Discussion or request for adding non-visible classes to the VS toolbox

Post by robert »

Xinjie,

For controls be be added to the Toolbox, they have to fulfull certain criteria.
One of these criteria is that the control should have a public constructor with 0 parameters.
I therefore do not think classes that inherit from XSharp.VFP.Custom can be added.

Can you add a Github enhancement request for this, so we will take a look at this?

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
xinjie
Posts: 116
Joined: Wed May 20, 2020 10:05 am
Location: China
Contact:

Re: Discussion or request for adding non-visible classes to the VS toolbox

Post by xinjie »

Robert,

I can add a Github enhancement request for this.
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!
Post Reply