Página 1 de 1

oStatusBar

Publicado: Mié Jun 25, 2008 3:17 am
por Nick Hilder
Howdy Gents
I'm sure I'm being a deadshit here but I can work this out
I have a form, it has a status bar, it is called ::oStatusBar
In my AppData class I have a Property called ::oStatusBar, I pass a ref to
the forms oStatusbar to the AppData:oStatusBar.
This works, I can see it in the debugger, I can drill down to each panel
etc.
When I try this, from within Appdata
::oStatusBar:aItems[1]:SetText("Here is my Status message.")
I get this
Subsystem Call: BASE
System Code: 1004
Default Status: .F.
Description: Scope Violation <PROTECTED>
Operation: SETTEXT
Arguments: [ 1] = Type: O Val:
I can not for the life of me work out why.
Anyone have any clues?
Nick