Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
create a form scx, go to properties, name it ernie. save it to sesamestreet.scx.
Do form sesamestreet
? sesamestreet.name
Now modify the form, save as class, set name to bert, save to classlib sesamestreet.vcx. open properties, see name property: It's bert and its read only.
So the name property of an scx is equal to the classname of a class, but as an scx normally just is a single form, while a vcx can have many forms, the scx name property does not matter really. You can even have many forms with the same name at runtime. Only if you have a formset, you can't add two forms with the same name (like you can't have two textboxes named text1 on a form (as long as you don't seperate these by another container or pageframe or grid). A Formset is the only place, where a form name makes a difference. But as with control (base) classes in a formset equal forms will get numbered (form1, form2 ....).
So you don't need to worry, but I'd also recommend to make names unique, even better in sync with filenames, otherwise it can be irritating.
Bye, Olaf.
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