How to add Components to your form??

  • Thread starter Thread starter Peter van der Veen
  • Start date Start date
P

Peter van der Veen

Hi

I've a component (from the vb.net resource kit; the flexgroup
component)
But how can i add that to my form?? I don't see it in the components
tab.

In the example the component is on the form already, but there i also
don't know hoe to add a new one beside kopie and paste.

There must be another method.

Peter
 
Hi Peter

A right mouse click on your components group will give you the oppertunity
to add or delete controls.


Groeten,
Erik
 
Peter van der Veen said:
:)

No, its not a control really.

Components are also in the toolbox. :)
It is also not listed in the
add/remove
list.

Did you install them?
After starting the resource kit (from the start menu), click the [Enter]
button at the bottom, then choose "third party components" at the top....
and so on. I haven't installed them yet, but I think this should work. After
that, they should be available in the toolbox, or in the list in the
"customize toolbox" dialog, or you'd have to press the [browse] button in
the "customize toolbox" dialog.
 
Hi,

First did you install the componetone studio by clicking on the
install studio button on the componetone studio enterprise? Add c1flexgrid
to toolbox.

Ken
 
Yes, all the componentone componnets are there.
the normal flexgrid work ok.

But there is a sample of the flexgrid where they made a flexgroup
component out of the flexgrid. They added a component.vb to the
project and added code to it.
There is nog visible designer, they make it in the component onpaint
event.

But how to add it to yor form.

You canb try yourself, add a component.vb to your project, add
something to the designer and then try to add that to your form.

Peter
 
Hi,

They created a class called FlexGroup and added it to the form in
the windows form designer generated code. That is why it doesnt show up on
the form. Try creating a new windows form control and paste the code from
the flexgroup class into it. That way you can add it to a form.

Ken
--------------------
 
Back
Top