Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying form objects
Message
De
23/05/1997 13:55:15
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, États-Unis
 
 
À
22/05/1997 14:20:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00033311
Message ID:
00033449
Vues:
50
Edward,

I was suspecting something along those lines. Thanks much for the explanation!

Mandy

>>More of a nuisance than anything, but I'd like to know how VFP (3.0) is thinking. I've got a form with fairly repetitive objects, so I use the copy and paste features to copy similar objects to new ones. However, often I get the message:
>>
>>"A member object with this name already exists"
>>
>>and it won't let me paste a copy of the object on the form. Usually if I do a screen redraw (switch between pages in my pageframe) a copy of the object shows up in the upper left corner and I can move and edit it as necessary. Other times though, I can't see where it made a copy of the object and have to recreate the object via the Form Object toolbar.
>>
>>Any insight into what's going on?
>>
>>Thanks!
>>
>>Mandy
>
>When you copy some object VFP tries to copy all properties/events/methods except name property which is going by default, e.g. Text1, Text2,etc. But if for some reason your form already contains textbox 'Text5' and next default name is the same, then you get abovementioned error.
>New object layout (left,top) properties copied from source object and sometimes you can get out of form layout if e.g. Form.Height=100 and source textbox Top was 120. But you still can reach new object from property sheet typing reasonable Top,Left values.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform