Hi All
Can anyone help please? I am evaluating the demo version of Xailer 2.3 with a view to purchasing it but have come across a problem to which I cannot see a cure. I made an error which produced no compiler error but did produce the following run time error when clicking on the menu in the opening form:
TMENUITEM:SETSTATE(628)
Error BASE/1066 Argument error: conditional
Arguments: ( [ 1] = Type: U Val: NIL)
Exe: F:DEVXailerLogbookLogbook.exe
Version: 1.0.0.0
User name: Bob
Computer name: BOB-PC
Date: 05/18/11
Time: 08:09:30
Available Memory: 2699008
Current Area: 1
I removed the offending line of code, saved and recompiled the entire application but the error persists. Last time I had this problem I had to delete the application and recreate it - luckily not much work at that point as just a few simple forms.
Regards
Bob
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.
Run time error
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Run time error
bobfburns escribió el mié, 18 mayo 2011 10:22Hi All
Can anyone help please? I am evaluating the demo version of Xailer 2.3 with a view to purchasing it but have come across a problem to which I cannot see a cure. I made an error which produced no compiler error but did produce the following run time error when clicking on the menu in the opening form:
TMENUITEM:SETSTATE(628)
Error BASE/1066 Argument error: conditional
Arguments: ( [ 1] = Type: U Val: NIL)
Exe: F:DEVXailerLogbookLogbook.exe
Version: 1.0.0.0
User name: Bob
Computer name: BOB-PC
Date: 05/18/11
Time: 08:09:30
Available Memory: 2699008
Current Area: 1
I removed the offending line of code, saved and recompiled the entire application but the error persists. Last time I had this problem I had to delete the application and recreate it - luckily not much work at that point as just a few simple forms.
Regards
Bob
If you do not mind try to export the application with the menu option Project->Export and send it to us so we can check it. BTW, you may delete all the parts of the application except the offending code.
Regards,
Can anyone help please? I am evaluating the demo version of Xailer 2.3 with a view to purchasing it but have come across a problem to which I cannot see a cure. I made an error which produced no compiler error but did produce the following run time error when clicking on the menu in the opening form:
TMENUITEM:SETSTATE(628)
Error BASE/1066 Argument error: conditional
Arguments: ( [ 1] = Type: U Val: NIL)
Exe: F:DEVXailerLogbookLogbook.exe
Version: 1.0.0.0
User name: Bob
Computer name: BOB-PC
Date: 05/18/11
Time: 08:09:30
Available Memory: 2699008
Current Area: 1
I removed the offending line of code, saved and recompiled the entire application but the error persists. Last time I had this problem I had to delete the application and recreate it - luckily not much work at that point as just a few simple forms.
Regards
Bob
If you do not mind try to export the application with the menu option Project->Export and send it to us so we can check it. BTW, you may delete all the parts of the application except the offending code.
Regards,
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
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Run time error
bobfburns escribió el mié, 18 mayo 2011 10:22Hi All
Can anyone help please? I am evaluating the demo version of Xailer 2.3 with a view to purchasing it but have come across a problem to which I cannot see a cure. I made an error which produced no compiler error but did produce the following run time error when clicking on the menu in the opening form:
TMENUITEM:SETSTATE(628)
Error BASE/1066 Argument error: conditional
Arguments: ( [ 1] = Type: U Val: NIL)
Exe: F:DEVXailerLogbookLogbook.exe
Version: 1.0.0.0
User name: Bob
Computer name: BOB-PC
Date: 05/18/11
Time: 08:09:30
Available Memory: 2699008
Current Area: 1
I removed the offending line of code, saved and recompiled the entire application but the error persists. Last time I had this problem I had to delete the application and recreate it - luckily not much work at that point as just a few simple forms.
Regards
Bob
If you do not mind try to export the application with the menu option Project->Export and send it to us so we can check it. BTW, you may delete all the parts of the application except the offending code.
Regards,
Can anyone help please? I am evaluating the demo version of Xailer 2.3 with a view to purchasing it but have come across a problem to which I cannot see a cure. I made an error which produced no compiler error but did produce the following run time error when clicking on the menu in the opening form:
TMENUITEM:SETSTATE(628)
Error BASE/1066 Argument error: conditional
Arguments: ( [ 1] = Type: U Val: NIL)
Exe: F:DEVXailerLogbookLogbook.exe
Version: 1.0.0.0
User name: Bob
Computer name: BOB-PC
Date: 05/18/11
Time: 08:09:30
Available Memory: 2699008
Current Area: 1
I removed the offending line of code, saved and recompiled the entire application but the error persists. Last time I had this problem I had to delete the application and recreate it - luckily not much work at that point as just a few simple forms.
Regards
Bob
If you do not mind try to export the application with the menu option Project->Export and send it to us so we can check it. BTW, you may delete all the parts of the application except the offending code.
Regards,
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
Run time error
Thanks for your prompr reply. I have attached the project with the offending line of code commented out.
Regards
Bob
Attached files Logbook-1-0-0-0.zip (3.5 KB)Â
Regards
Bob
Attached files Logbook-1-0-0-0.zip (3.5 KB)Â
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Run time error
bobfburns escribió el mié, 18 mayo 2011 10:41Thanks for your prompr reply. I have attached the project with the offending line of code commented out.
Regards
Bob
Bob,
The bug is on the menu item check state event. That event is used to change the menu state (enable|disable) depending on the value returned by the event that should return a logical value. For example, this code:
METHOD Menu2Item1_1CheckState( oSender ) CLASS TForm1
RETURN .f.
Will disable the menuitem.
In order to delete the event:
2) select the menu item on the form
1) select the object inspector (the menu item should be set)
3) select the 'Events' tab
4) select the OnCheckState Event
5) Press the delete button
Regards,
Regards
Bob
Bob,
The bug is on the menu item check state event. That event is used to change the menu state (enable|disable) depending on the value returned by the event that should return a logical value. For example, this code:
METHOD Menu2Item1_1CheckState( oSender ) CLASS TForm1
RETURN .f.
Will disable the menuitem.
In order to delete the event:
2) select the menu item on the form
1) select the object inspector (the menu item should be set)
3) select the 'Events' tab
4) select the OnCheckState Event
5) Press the delete button
Regards,
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
Run time error
Thank you very much - that has fixed the problem but I would never have known where to look. Great service!
Regards
Bob
Regards
Bob
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Run time error
bobfburns escribió el mié, 18 mayo 2011 12:57Thank you very much - that has fixed the problem but I would never have known where to look. Great service!
Regards
Bob
Hi,
Xailer reports exactly the offending line. Just take a look at the help file for that event and that's all!
Regards,
Regards
Bob
Hi,
Xailer reports exactly the offending line. Just take a look at the help file for that event and that's all!
Regards,
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