>Hi,
>
>Anybody knows how i could get a unique ID for a form so i can save the users settings (size, position, etc..) into a table. I cannot use the form's name cause a lot of our forms have the same name and we dont really care about the name.
>
>A good unique ID would be the form's physical name (.scx). is there any way i can get the form's physical name during run-time or is there any better way to do this.
We just added a property to the form (and any other control that might be involved in security for that matter) iObjID and we wrote a small iterator that assign object IDs (parses the prj and then the VCXs to add ids)
Arnon
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