Widgets - another term for controls...
This is kind of complicated for me since it involves the Linux platform.
<micha@nospam.com> wrote in message
news:ctlns5$bg7$05$1@news.t-online.com...
> Hey Joey
>
> It's not easy to explain, but it's the same Problem as if you like to
> create Forms and Controls that Work under Windows and Linux/Unix or Web
the
> same time.
>
> To Create Controls/Forms that run under Linux or any Plattform or Device
> you can not use Windows.Forms.*.
>
> You have to use Plattform dependent Assemblies.
>
> So I have to Develop the GUI for every Plattform and doing things twice or
> triple.
>
> So why not have one Set of Controls for all.
>
> A Button looks and Felels the same under Windows, Web Linux.
> It has Left/Top/Visible Text etc Properties and looks always like a
Button.
>
> I want to write the GUI and Code and don't want to care about the Platform
> or the "Device"
> on which it will run later.
>
> >>inheriting from .NET widgets
>
> What do you mean with Widgets ?
>
> Do you mean it as an other Word for the Windows.Forms.* Classes
> or is there a Sample out there which is calles "Widgets"
>
> If yes, can you send me the link for this sample ?
>
> Thanx for your help
> Micha
>
>
>
>
> > All .NET controls under Windows.Forms assembly derive from Component.
> They
> > are special kind of components because they have visual representation
on
> > the document surface. If you want your custom controls to be inheriting
> > from Component only, I believe you will have to deal with their
> appearances
> > (just like the shapedesigner components) unlike inheriting from .NET
> widgets
> > where their appearances are already available and customizable.
> >
> > First of all, I would like to know why you need to attain this, perhaps
> > you're confused on what you want/need to do...
> >
> > --
> > Joey Calisay
> >
http://spaces.msn.com/members/joeycalisay/ > >
> >
> > <micha@nospam.com> wrote in message
> > news:ctikjb$ofk$00$1@news.t-online.com...
> > > Hello
> > >
> > > I want to build a own set of Forms and Controls that are
> > > not inherited from the "Windows.Forms." stuff and only are inherited
> from
> > > Component.
> > >
> > > Some thing like the Shape Designer sample found at.
> > >
http://www.windowsforms.net/articles/shapedesigner.aspx > > >
> > > But I do not want to Build all the Designer stuff myself because
there
> > > are so many little things (like mutli selection etc) that the Shape
> > Designer
> > > forget
> > > and the Shapedeisgner is not always working properly.
> > >
> > > I instead want to use the Designtime behaviour of the Windows Forms
> stuff.
> > >
> > > My Button Control for example looks something like this:
> > >
> > > public Class MyButton
> > > inherits Component
> > >
> > > public windowsButton as Windows.Forms.Button
> > >
> > > sub new()
> > > if designtime then
> > > windowsButton = new Windows.Forms.Button
> > > end if
> > > end sub
> > >
> > > ....
> > >
> > > My Own Properties
> > >
> > > End Class
> > >
> > >
> > > I want to have the Look and Feel of the Windows Forms at Designtime
> > > but not want that my Controls are inherited from "Windows.Forms.*"
> > > at runtime.
> > >
> > > Any Idea how to do this ?
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>