Active are for controls

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How to develop (or which existing control to use) an active area where a
user can place controls (similar to command buttons in VB), resize them,
rotate them and also being able to zoom-in and out the active area. The
active area should also be saved.
 
Perhaps you can be more descriptive of what you want. You want to
create a control that allows others to add their controls within this
control during design time?

Best Regards
Johann Blake
 
Hello Johann

Yes something like that. May be an image control where user picks up
controls from the control toolbox and places on the image control (similar to
what you find in VB, we place controls (such as buttons or combo boxes) from
the control explorer on to the form space. My requirements are I am
developing a small simulator where the user designs an electronic circuit
with the control library he has (comprising resisters, transistors etc). The
user drags these controls and drops on the Active area, connects them and
later based on the connection my software will display results.

My problem is which control should i use to develop the active area where
the user can drag and drop the controls.

Thank you for responding.

Regards
Amey
 
Hi Amey,

The most generic control that gives you the most flexibilites is the
Control class itself. It can act as a container for other controls and
allows itself to be derived by other classes. Most of the controls in
the toolbox are derived from the Control class. So roll your own.

Best Regards
Johann
 
Back
Top