General information
Category:
Object Oriented Programming
>>Are you expecting different behavior than PUBLIC gnEmployee would provide.
No. I guess that is exactly the performance I need.
Are you saying the scope of _vfp.setvar() definiations is only within the form which calls it?
This seems to contradict the idea that you are creating user defined properties on what I thought was THE main vfp applicatin object. I would expect any .setvar() calls to make the variables available to all forms, or procedures ANYWHERE within the current vfp session.
Is this also true for PUBLIC declarations?
Must you declare PUBLIC in the main .prg for your project, for it to be available to all forms?
Must you also re-delcare any PUBLIC variables you wish to reference in procedures, so that they will reference the already-declared public variables, instead of creating new local-to-the-current-form public variables?
This has always confused me.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only