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.

Project ok in 1.9X but error in 2.0 beta ?

Xailer professional forum in English
Responder
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por ChrisGillard »

I have a fairly complex application that uses a mainform and loads sub
'forms' inherited from TPanel into the mainform area ... this is a technique
from Ignacio.
All works 100% ok in 1.9X
In 2.0 beta I get the following error as it tries to load the mainform & the
first sub 'form'.
All sources have been recompiled.
Other projects work with my 2.0 installation OK.
I do call refreshborder() in my code, it must be from the Panel:Create()
Any thoughts would be appreciated as I would like to move this project onto
2.0.
Thanks
Chris
---------------------------- Compiler
Information -----------------------------
Xailer Version: Xailer 2.0.0 Version 2.0 beta
Compiler: xHarbour build 1.3.0 Intl. (SimpLex) (Rev. 6403) PCode
Version: 10
C/C++ Compiler: Borland C++ 5.5.1 (32 bit)
Windows Platform: Windows XP Professional 5.01.2600 Service Pack 3
--------------------- Internal Error Handling
Information ---------------------
Subsystem Call: BASE
System Code: 1004
Default Status: .F.
Description: Scope Violation <HIDDEN>
Operation: REFRESHBORDER
Arguments: [ 1] = Type: O Val:
Involved File:
Dos Error Code: 0
Trace Through:
TSHIPORDERFORM:REFRESHBORDER (0)
XPANEL:CREATE (61)
TSHIPORDERFORM:CREATE (53)
TSHIPORDERFORM:CREATEFORM (9)
TSHIPORDERFORM:NEW (39)
TMAINFORM:MAINTOOLBARSHIPBTNCLICK (103)
TMAINFORM:FORMINITIALIZE (84)
TMAINFORM:ONINITIALIZE (0)
TMAINFORM:NEW (187)
DISPLAYFORMS (24)
MAIN (15)
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por ChrisGillard »

Oops, Error in Original posting ....
I said ......
"I do call refreshborder() in my code, it must be from the Panel:Create()"
Should say ....
"I do NOT call refreshborder() in my code, it must be from the
Panel:Create()"
Hope that helps.
Chris
"Chris Gillard" <chris@bluesquare.co.uk> wrote in message
news:49d726c4$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>I have a fairly complex application that uses a mainform and loads sub
>'forms' inherited from TPanel into the mainform area ... this is a
>technique from Ignacio.
>
> All works 100% ok in 1.9X
>
> In 2.0 beta I get the following error as it tries to load the mainform &
> the first sub 'form'.
>
> All sources have been recompiled.
>
> Other projects work with my 2.0 installation OK.
>
> I do call refreshborder() in my code, it must be from the Panel:Create()
>
> Any thoughts would be appreciated as I would like to move this project
> onto 2.0.
>
> Thanks
>
> Chris
>
> ---------------------------- Compiler
> Information -----------------------------
>
> Xailer Version: Xailer 2.0.0 Version 2.0 beta
> Compiler: xHarbour build 1.3.0 Intl. (SimpLex) (Rev. 6403) PCode
> Version: 10
> C/C++ Compiler: Borland C++ 5.5.1 (32 bit)
> Windows Platform: Windows XP Professional 5.01.2600 Service Pack 3
>
> --------------------- Internal Error Handling
> Information ---------------------
>
> Subsystem Call: BASE
> System Code: 1004
> Default Status: .F.
> Description: Scope Violation <HIDDEN>
> Operation: REFRESHBORDER
> Arguments: [ 1] = Type: O Val:
> Involved File:
> Dos Error Code: 0
>
> Trace Through:
> TSHIPORDERFORM:REFRESHBORDER (0)
> XPANEL:CREATE (61)
> TSHIPORDERFORM:CREATE (53)
> TSHIPORDERFORM:CREATEFORM (9)
> TSHIPORDERFORM:NEW (39)
> TMAINFORM:MAINTOOLBARSHIPBTNCLICK (103)
> TMAINFORM:FORMINITIALIZE (84)
> TMAINFORM:ONINITIALIZE (0)
> TMAINFORM:NEW (187)
> DISPLAYFORMS (24)
> MAIN (15)
>
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por ChrisGillard »

Oops, Error in Original posting ....
I said ......
"I do call refreshborder() in my code, it must be from the Panel:Create()"
Should say ....
"I do NOT call refreshborder() in my code, it must be from the
Panel:Create()"
Hope that helps.
Chris
"Chris Gillard" <chris@bluesquare.co.uk> wrote in message
news:49d726c4$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>I have a fairly complex application that uses a mainform and loads sub
>'forms' inherited from TPanel into the mainform area ... this is a
>technique from Ignacio.
>
> All works 100% ok in 1.9X
>
> In 2.0 beta I get the following error as it tries to load the mainform &
> the first sub 'form'.
>
> All sources have been recompiled.
>
> Other projects work with my 2.0 installation OK.
>
> I do call refreshborder() in my code, it must be from the Panel:Create()
>
> Any thoughts would be appreciated as I would like to move this project
> onto 2.0.
>
> Thanks
>
> Chris
>
> ---------------------------- Compiler
> Information -----------------------------
>
> Xailer Version: Xailer 2.0.0 Version 2.0 beta
> Compiler: xHarbour build 1.3.0 Intl. (SimpLex) (Rev. 6403) PCode
> Version: 10
> C/C++ Compiler: Borland C++ 5.5.1 (32 bit)
> Windows Platform: Windows XP Professional 5.01.2600 Service Pack 3
>
> --------------------- Internal Error Handling
> Information ---------------------
>
> Subsystem Call: BASE
> System Code: 1004
> Default Status: .F.
> Description: Scope Violation <HIDDEN>
> Operation: REFRESHBORDER
> Arguments: [ 1] = Type: O Val:
> Involved File:
> Dos Error Code: 0
>
> Trace Through:
> TSHIPORDERFORM:REFRESHBORDER (0)
> XPANEL:CREATE (61)
> TSHIPORDERFORM:CREATE (53)
> TSHIPORDERFORM:CREATEFORM (9)
> TSHIPORDERFORM:NEW (39)
> TMAINFORM:MAINTOOLBARSHIPBTNCLICK (103)
> TMAINFORM:FORMINITIALIZE (84)
> TMAINFORM:ONINITIALIZE (0)
> TMAINFORM:NEW (187)
> DISPLAYFORMS (24)
> MAIN (15)
>
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por jfgimenez »

Chris,
> "I do NOT call refreshborder() in my code, it must be from the
> Panel:Create()"
Yes, it's called from there, but that method is privated. Try to add that
method directly to your class. It's very small, and you may copy it from the
tpanel's source.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por jfgimenez »

Chris,
> "I do NOT call refreshborder() in my code, it must be from the
> Panel:Create()"
Yes, it's called from there, but that method is privated. Try to add that
method directly to your class. It's very small, and you may copy it from the
tpanel's source.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por ChrisGillard »

Jose,
Have done as you suggested and that appears to be solving my problem.
Thanks very much for that on a Saturday.
Chris
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:49d73ca6$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Chris,
>
>> "I do NOT call refreshborder() in my code, it must be from the
>> Panel:Create()"
>
> Yes, it's called from there, but that method is privated. Try to add that
> method directly to your class. It's very small, and you may copy it from
> the tpanel's source.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por ChrisGillard »

Jose,
Have done as you suggested and that appears to be solving my problem.
Thanks very much for that on a Saturday.
Chris
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:49d73ca6$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Chris,
>
>> "I do NOT call refreshborder() in my code, it must be from the
>> Panel:Create()"
>
> Yes, it's called from there, but that method is privated. Try to add that
> method directly to your class. It's very small, and you may copy it from
> the tpanel's source.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por ChrisGillard »

Jose,
Another thought ....
Your fix works ok but .... is it something that will always be needed or are
you likely to change the visibility of RefreshBorder() in the Tpanel class
in the future ??
Thanks
Chris
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:49d73ca6$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Chris,
>
>> "I do NOT call refreshborder() in my code, it must be from the
>> Panel:Create()"
>
> Yes, it's called from there, but that method is privated. Try to add that
> method directly to your class. It's very small, and you may copy it from
> the tpanel's source.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por ChrisGillard »

Jose,
Another thought ....
Your fix works ok but .... is it something that will always be needed or are
you likely to change the visibility of RefreshBorder() in the Tpanel class
in the future ??
Thanks
Chris
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:49d73ca6$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Chris,
>
>> "I do NOT call refreshborder() in my code, it must be from the
>> Panel:Create()"
>
> Yes, it's called from there, but that method is privated. Try to add that
> method directly to your class. It's very small, and you may copy it from
> the tpanel's source.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por jfgimenez »

Chris,
> Your fix works ok but .... is it something that will always be needed or
> are you likely to change the visibility of RefreshBorder() in the Tpanel
> class in the future ??
I'm changing it to 'protected', so it could be called from inherited
classes.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por jfgimenez »

Chris,
> Your fix works ok but .... is it something that will always be needed or
> are you likely to change the visibility of RefreshBorder() in the Tpanel
> class in the future ??
I'm changing it to 'protected', so it could be called from inherited
classes.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por ChrisGillard »

Jose,
Good news.
Thanks very much for helping so quickly on this.
Chris
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:49d74358$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Chris,
>
>> Your fix works ok but .... is it something that will always be needed or
>> are you likely to change the visibility of RefreshBorder() in the Tpanel
>> class in the future ??
>
> I'm changing it to 'protected', so it could be called from inherited
> classes.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Project ok in 1.9X but error in 2.0 beta ?

Mensaje por ChrisGillard »

Jose,
Good news.
Thanks very much for helping so quickly on this.
Chris
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:49d74358$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Chris,
>
>> Your fix works ok but .... is it something that will always be needed or
>> are you likely to change the visibility of RefreshBorder() in the Tpanel
>> class in the future ??
>
> I'm changing it to 'protected', so it could be called from inherited
> classes.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
Responder