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
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
oStatusBar
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am