Hi Bob,
Seems to me that you are asking for an Application service. I use one public variable, ThisApp, and it has ways of getting that kind of information. In the case of UserName, it's held in the UserHandler object. You want to be able to test the form on it's own, without the full Application running. Therefore, the code might look like this:
LOCAL UserName
IF VARTYPE(ThisApp) = "O"
UserName = ThisApp.GetProperty("UserName")
ELSE
UserName = "PC User"
ENDIF
>If I were to create a custom object, for keeping track of few propertities like
>say username and userlevel (application level)
>and if I put the object on my base class forms....
>
>How could i set the propertites, of the base object once, and have all the other forms which the object be able to read the propertites. ?
>
>I hope that I am making sense here. what I am attempting to do, is not use a public array to store this type of but to use a more oop method ... should this,. or can this be done ?
>
>Bob Lee
Charlie