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
oStatusBar
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
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
oStatusBar
Nick,
> 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.
This is because method SetText is protected in class TStatusPanel. You can
see it in XailerSourceStatusPanel.prg.
Use published property cText instead:
::oStatusBar:aItems[1]:cText:="Here is my Status message."
The description of SetText method should be excluded from Xailer's
documentation by developers.
Regards, Oleg
> 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.
This is because method SetText is protected in class TStatusPanel. You can
see it in XailerSourceStatusPanel.prg.
Use published property cText instead:
::oStatusBar:aItems[1]:cText:="Here is my Status message."
The description of SetText method should be excluded from Xailer's
documentation by developers.
Regards, Oleg
oStatusBar
Nick,
> 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.
This is because method SetText is protected in class TStatusPanel. You can
see it in XailerSourceStatusPanel.prg.
Use published property cText instead:
::oStatusBar:aItems[1]:cText:="Here is my Status message."
The description of SetText method should be excluded from Xailer's
documentation by developers.
Regards, Oleg
> 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.
This is because method SetText is protected in class TStatusPanel. You can
see it in XailerSourceStatusPanel.prg.
Use published property cText instead:
::oStatusBar:aItems[1]:cText:="Here is my Status message."
The description of SetText method should be excluded from Xailer's
documentation by developers.
Regards, Oleg
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
oStatusBar
Ah...I forgot all about looking in the sources..
thanks heaps Oleg...
"Oleg" <info@cluster.samara.ru> wrote in message
news:4861d5b4$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
>> 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.
>
> This is because method SetText is protected in class TStatusPanel. You can
> see it in XailerSourceStatusPanel.prg.
> Use published property cText instead:
> ::oStatusBar:aItems[1]:cText:="Here is my Status message."
>
> The description of SetText method should be excluded from Xailer's
> documentation by developers.
>
> Regards, Oleg
>
>
thanks heaps Oleg...
"Oleg" <info@cluster.samara.ru> wrote in message
news:4861d5b4$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
>> 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.
>
> This is because method SetText is protected in class TStatusPanel. You can
> see it in XailerSourceStatusPanel.prg.
> Use published property cText instead:
> ::oStatusBar:aItems[1]:cText:="Here is my Status message."
>
> The description of SetText method should be excluded from Xailer's
> documentation by developers.
>
> Regards, Oleg
>
>
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
oStatusBar
Ah...I forgot all about looking in the sources..
thanks heaps Oleg...
"Oleg" <info@cluster.samara.ru> wrote in message
news:4861d5b4$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
>> 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.
>
> This is because method SetText is protected in class TStatusPanel. You can
> see it in XailerSourceStatusPanel.prg.
> Use published property cText instead:
> ::oStatusBar:aItems[1]:cText:="Here is my Status message."
>
> The description of SetText method should be excluded from Xailer's
> documentation by developers.
>
> Regards, Oleg
>
>
thanks heaps Oleg...
"Oleg" <info@cluster.samara.ru> wrote in message
news:4861d5b4$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
>> 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.
>
> This is because method SetText is protected in class TStatusPanel. You can
> see it in XailerSourceStatusPanel.prg.
> Use published property cText instead:
> ::oStatusBar:aItems[1]:cText:="Here is my Status message."
>
> The description of SetText method should be excluded from Xailer's
> documentation by developers.
>
> Regards, Oleg
>
>
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
oStatusBar
Oleg,
SetText() is not a documented method of TStatusBar.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:4861d5b4$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
>> 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.
>
> This is because method SetText is protected in class TStatusPanel. You can
> see it in XailerSourceStatusPanel.prg.
> Use published property cText instead:
> ::oStatusBar:aItems[1]:cText:="Here is my Status message."
>
> The description of SetText method should be excluded from Xailer's
> documentation by developers.
>
> Regards, Oleg
>
>
SetText() is not a documented method of TStatusBar.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:4861d5b4$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
>> 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.
>
> This is because method SetText is protected in class TStatusPanel. You can
> see it in XailerSourceStatusPanel.prg.
> Use published property cText instead:
> ::oStatusBar:aItems[1]:cText:="Here is my Status message."
>
> The description of SetText method should be excluded from Xailer's
> documentation by developers.
>
> Regards, Oleg
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
oStatusBar
Oleg,
SetText() is not a documented method of TStatusBar.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:4861d5b4$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
>> 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.
>
> This is because method SetText is protected in class TStatusPanel. You can
> see it in XailerSourceStatusPanel.prg.
> Use published property cText instead:
> ::oStatusBar:aItems[1]:cText:="Here is my Status message."
>
> The description of SetText method should be excluded from Xailer's
> documentation by developers.
>
> Regards, Oleg
>
>
SetText() is not a documented method of TStatusBar.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:4861d5b4$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
>> 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.
>
> This is because method SetText is protected in class TStatusPanel. You can
> see it in XailerSourceStatusPanel.prg.
> Use published property cText instead:
> ::oStatusBar:aItems[1]:cText:="Here is my Status message."
>
> The description of SetText method should be excluded from Xailer's
> documentation by developers.
>
> Regards, Oleg
>
>
oStatusBar
Ignacio,
> SetText() is not a documented method of TStatusBar.
We were talking about TStatusPanel, and SetText() is documented in it.
Regards, Oleg
> SetText() is not a documented method of TStatusBar.
We were talking about TStatusPanel, and SetText() is documented in it.
Regards, Oleg
oStatusBar
Ignacio,
> SetText() is not a documented method of TStatusBar.
We were talking about TStatusPanel, and SetText() is documented in it.
Regards, Oleg
> SetText() is not a documented method of TStatusBar.
We were talking about TStatusPanel, and SetText() is documented in it.
Regards, Oleg
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
oStatusBar
Oleg,
You are completely right. Documentation fixed. Thanks
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=48620110@ozsrv2.ozlan.local...]48620110@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
>> SetText() is not a documented method of TStatusBar.
>
> We were talking about TStatusPanel, and SetText() is documented in it.
>
> Regards, Oleg
>
You are completely right. Documentation fixed. Thanks
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=48620110@ozsrv2.ozlan.local...]48620110@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
>> SetText() is not a documented method of TStatusBar.
>
> We were talking about TStatusPanel, and SetText() is documented in it.
>
> Regards, Oleg
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
oStatusBar
Oleg,
You are completely right. Documentation fixed. Thanks
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=48620110@ozsrv2.ozlan.local...]48620110@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
>> SetText() is not a documented method of TStatusBar.
>
> We were talking about TStatusPanel, and SetText() is documented in it.
>
> Regards, Oleg
>
You are completely right. Documentation fixed. Thanks
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=48620110@ozsrv2.ozlan.local...]48620110@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
>> SetText() is not a documented method of TStatusBar.
>
> We were talking about TStatusPanel, and SetText() is documented in it.
>
> Regards, Oleg
>