Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement