Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding several controls to form
Message
De
22/07/2005 00:12:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01034936
Message ID:
01034986
Vues:
24
>There has to be a simple way of doing this (there is in VFP by locking the control). Let's say I want to add 10 radio buttons, currently I am going between the toolbox and the designer surface 10 times, or I can also copy and paste. Either way it is a pain. Is there any way I can "lock" the currently selected control in the toolbox and then just click 10 times on the designer surface to get 10 controls?
>I think I have read something about this in VS2003 but I can't find it now.
>
>Thanks,
>Einar

I don't see any such option in Visual Studio.

In VFP you can also double-click. I tried this in Visual Studio, with the interesting result that a copy of the object was immediately placed on the form. So, you might:
  • Place one copy of the desired control manually, to get the initial position.
  • Repeteadly double-click on the form.
  • Play around with the alignment options.

    Not exactly what you were looking for, I suspect.
    Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
  • Précédent
    Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform