Hi,
I have modified the main function as follows:
Procedure Main()
IF ( Login() )
// Inizializzazione
Application:cTitle := "xNovaTools"
TxNovaTools():New( Application ):Show()
Application:Run()
// Chiusura
LogOut() <------ this line is alway removed when I save the file
ENDIF
Return
Login() perform .ini and .log checking for the application
LogOut() perfom closing of .log files and so on.
Why Login() remains and LogOut() is removed from source by the IDE ?
Do I have to move the LogOut() code to the OnClose method for the main form
?
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
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.
Main module explanation
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm
- ignacio
- Site Admin
- Mensajes: 9440
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Main module explanation
Guissepe,
That part of code is regenerated continuously by the IDE and surely is
mistaken the funtion whits its own generated code.
Please see if passing a dummy value to the funcion fixes the problem, for
example:
LogOut( "dummy" )
Regards,
"Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
news:12ne6f8hlyr85$[email=.u5t58l6xpar9.dlg@40tude.net...].u5t58l6xpar9.dlg@40tude.net...[/email]
> Hi,
>
> I have modified the main function as follows:
>
> Procedure Main()
>
> IF ( Login() )
> // Inizializzazione
> Application:cTitle := "xNovaTools"
> TxNovaTools():New( Application ):Show()
> Application:Run()
> // Chiusura
> LogOut() <------ this line is alway removed when I save the file
> ENDIF
>
> Return
>
> Login() perform .ini and .log checking for the application
> LogOut() perfom closing of .log files and so on.
>
> Why Login() remains and LogOut() is removed from source by the IDE ?
>
> Do I have to move the LogOut() code to the OnClose method for the main
> form
> ?
>
> --
> Best regards,
>
> Giuseppe Bogetti
> B.G. Soft
> Cuneo - Italy
That part of code is regenerated continuously by the IDE and surely is
mistaken the funtion whits its own generated code.
Please see if passing a dummy value to the funcion fixes the problem, for
example:
LogOut( "dummy" )
Regards,
"Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
news:12ne6f8hlyr85$[email=.u5t58l6xpar9.dlg@40tude.net...].u5t58l6xpar9.dlg@40tude.net...[/email]
> Hi,
>
> I have modified the main function as follows:
>
> Procedure Main()
>
> IF ( Login() )
> // Inizializzazione
> Application:cTitle := "xNovaTools"
> TxNovaTools():New( Application ):Show()
> Application:Run()
> // Chiusura
> LogOut() <------ this line is alway removed when I save the file
> ENDIF
>
> Return
>
> Login() perform .ini and .log checking for the application
> LogOut() perfom closing of .log files and so on.
>
> Why Login() remains and LogOut() is removed from source by the IDE ?
>
> Do I have to move the LogOut() code to the OnClose method for the main
> form
> ?
>
> --
> Best regards,
>
> Giuseppe Bogetti
> B.G. Soft
> Cuneo - Italy
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
-
- Mensajes: 53
- Registrado: Vie Mar 04, 2005 9:58 am
Main module explanation
Guissepe,
That part of code is regenerated continuously by the IDE and surely is
mistaken the funtion whits its own generated code.
Please see if passing a dummy value to the funcion fixes the problem, for
example:
LogOut( "dummy" )
Regards,
"Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
news:12ne6f8hlyr85$[email=.u5t58l6xpar9.dlg@40tude.net...].u5t58l6xpar9.dlg@40tude.net...[/email]
> Hi,
>
> I have modified the main function as follows:
>
> Procedure Main()
>
> IF ( Login() )
> // Inizializzazione
> Application:cTitle := "xNovaTools"
> TxNovaTools():New( Application ):Show()
> Application:Run()
> // Chiusura
> LogOut() <------ this line is alway removed when I save the file
> ENDIF
>
> Return
>
> Login() perform .ini and .log checking for the application
> LogOut() perfom closing of .log files and so on.
>
> Why Login() remains and LogOut() is removed from source by the IDE ?
>
> Do I have to move the LogOut() code to the OnClose method for the main
> form
> ?
>
> --
> Best regards,
>
> Giuseppe Bogetti
> B.G. Soft
> Cuneo - Italy
That part of code is regenerated continuously by the IDE and surely is
mistaken the funtion whits its own generated code.
Please see if passing a dummy value to the funcion fixes the problem, for
example:
LogOut( "dummy" )
Regards,
"Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
news:12ne6f8hlyr85$[email=.u5t58l6xpar9.dlg@40tude.net...].u5t58l6xpar9.dlg@40tude.net...[/email]
> Hi,
>
> I have modified the main function as follows:
>
> Procedure Main()
>
> IF ( Login() )
> // Inizializzazione
> Application:cTitle := "xNovaTools"
> TxNovaTools():New( Application ):Show()
> Application:Run()
> // Chiusura
> LogOut() <------ this line is alway removed when I save the file
> ENDIF
>
> Return
>
> Login() perform .ini and .log checking for the application
> LogOut() perfom closing of .log files and so on.
>
> Why Login() remains and LogOut() is removed from source by the IDE ?
>
> Do I have to move the LogOut() code to the OnClose method for the main
> form
> ?
>
> --
> Best regards,
>
> Giuseppe Bogetti
> B.G. Soft
> Cuneo - Italy
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm
Main module explanation
Il Wed, 30 Nov 2005 16:15:37 +0100, Ignacio Ortiz de Zúñiga ha scritto:
> Guissepe,
>
> That part of code is regenerated continuously by the IDE and surely is
> mistaken the funtion whits its own generated code.
>
> Please see if passing a dummy value to the funcion fixes the problem, for
> example:
>
> LogOut( "dummy" )
>
> Regards,
>
> "Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
> news:12ne6f8hlyr85$[email=.u5t58l6xpar9.dlg@40tude.net...].u5t58l6xpar9.dlg@40tude.net...[/email]
>> Hi,
>>
>> I have modified the main function as follows:
>>
>> Procedure Main()
>>
>> IF ( Login() )
>> // Inizializzazione
>> Application:cTitle := "xNovaTools"
>> TxNovaTools():New( Application ):Show()
>> Application:Run()
>> // Chiusura
>> LogOut() <------ this line is alway removed when I save the file
>> ENDIF
>>
>> Return
>>
>> Login() perform .ini and .log checking for the application
>> LogOut() perfom closing of .log files and so on.
>>
>> Why Login() remains and LogOut() is removed from source by the IDE ?
>>
>> Do I have to move the LogOut() code to the OnClose method for the main
>> form
>> ?
>>
>> --
>> Best regards,
>>
>> Giuseppe Bogetti
>> B.G. Soft
>> Cuneo - Italy
Fixed, thanks !
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
> Guissepe,
>
> That part of code is regenerated continuously by the IDE and surely is
> mistaken the funtion whits its own generated code.
>
> Please see if passing a dummy value to the funcion fixes the problem, for
> example:
>
> LogOut( "dummy" )
>
> Regards,
>
> "Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
> news:12ne6f8hlyr85$[email=.u5t58l6xpar9.dlg@40tude.net...].u5t58l6xpar9.dlg@40tude.net...[/email]
>> Hi,
>>
>> I have modified the main function as follows:
>>
>> Procedure Main()
>>
>> IF ( Login() )
>> // Inizializzazione
>> Application:cTitle := "xNovaTools"
>> TxNovaTools():New( Application ):Show()
>> Application:Run()
>> // Chiusura
>> LogOut() <------ this line is alway removed when I save the file
>> ENDIF
>>
>> Return
>>
>> Login() perform .ini and .log checking for the application
>> LogOut() perfom closing of .log files and so on.
>>
>> Why Login() remains and LogOut() is removed from source by the IDE ?
>>
>> Do I have to move the LogOut() code to the OnClose method for the main
>> form
>> ?
>>
>> --
>> Best regards,
>>
>> Giuseppe Bogetti
>> B.G. Soft
>> Cuneo - Italy
Fixed, thanks !
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm
Main module explanation
Il Wed, 30 Nov 2005 16:15:37 +0100, Ignacio Ortiz de Zúñiga ha scritto:
> Guissepe,
>
> That part of code is regenerated continuously by the IDE and surely is
> mistaken the funtion whits its own generated code.
>
> Please see if passing a dummy value to the funcion fixes the problem, for
> example:
>
> LogOut( "dummy" )
>
> Regards,
>
> "Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
> news:12ne6f8hlyr85$[email=.u5t58l6xpar9.dlg@40tude.net...].u5t58l6xpar9.dlg@40tude.net...[/email]
>> Hi,
>>
>> I have modified the main function as follows:
>>
>> Procedure Main()
>>
>> IF ( Login() )
>> // Inizializzazione
>> Application:cTitle := "xNovaTools"
>> TxNovaTools():New( Application ):Show()
>> Application:Run()
>> // Chiusura
>> LogOut() <------ this line is alway removed when I save the file
>> ENDIF
>>
>> Return
>>
>> Login() perform .ini and .log checking for the application
>> LogOut() perfom closing of .log files and so on.
>>
>> Why Login() remains and LogOut() is removed from source by the IDE ?
>>
>> Do I have to move the LogOut() code to the OnClose method for the main
>> form
>> ?
>>
>> --
>> Best regards,
>>
>> Giuseppe Bogetti
>> B.G. Soft
>> Cuneo - Italy
Fixed, thanks !
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
> Guissepe,
>
> That part of code is regenerated continuously by the IDE and surely is
> mistaken the funtion whits its own generated code.
>
> Please see if passing a dummy value to the funcion fixes the problem, for
> example:
>
> LogOut( "dummy" )
>
> Regards,
>
> "Giuseppe Bogetti" <orangesocks@bgsoft.it> escribió en el mensaje
> news:12ne6f8hlyr85$[email=.u5t58l6xpar9.dlg@40tude.net...].u5t58l6xpar9.dlg@40tude.net...[/email]
>> Hi,
>>
>> I have modified the main function as follows:
>>
>> Procedure Main()
>>
>> IF ( Login() )
>> // Inizializzazione
>> Application:cTitle := "xNovaTools"
>> TxNovaTools():New( Application ):Show()
>> Application:Run()
>> // Chiusura
>> LogOut() <------ this line is alway removed when I save the file
>> ENDIF
>>
>> Return
>>
>> Login() perform .ini and .log checking for the application
>> LogOut() perfom closing of .log files and so on.
>>
>> Why Login() remains and LogOut() is removed from source by the IDE ?
>>
>> Do I have to move the LogOut() code to the OnClose method for the main
>> form
>> ?
>>
>> --
>> Best regards,
>>
>> Giuseppe Bogetti
>> B.G. Soft
>> Cuneo - Italy
Fixed, thanks !
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy