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.

test

Xailer English public forum
Responder
Stephan Hennekens
Mensajes: 305
Registrado: Jue Nov 30, 2006 12:17 am

test

Mensaje por Stephan Hennekens »

Capsol Coder
Mensajes: 53
Registrado: Vie May 26, 2006 3:33 am

test

Mensaje por Capsol Coder »

test LS.
Capsol Coder
Mensajes: 53
Registrado: Vie May 26, 2006 3:33 am

test

Mensaje por Capsol Coder »

G'day xailer,
Why does xailer rewrite the Main sub all the time.?
How do I get my stuff into main?
Regards,
Leigh.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

test

Mensaje por ignacio »

Capsol,
The Main sub is the entry point to the application. That part of code is
modified by Xailer's IDE to establish the main form and open it when the
applications starts. This module should be considered as a read only module
and I suggest you put your initialization code on the Main form OnInitialize
event.
BTW, a safe way to modify the startup module is creating a function below
IDE's code and make a simple call to that function before the call to the
Show() method. Be aware that you must pass a dummy argument to that
function in order to avoid the IDE modification:
Procedure Main()
Application:cTitle := "DbfEditor"
MyInit( "whatever" )
TFrmMain():New( Application ):Show()
Application:Run()
Return
Function MyInit()
SET DELETED ON
return nil
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
news:[email=45c93b25@news.xailer.com...]45c93b25@news.xailer.com...[/email]
> G'day xailer,
>
> Why does xailer rewrite the Main sub all the time.?
> How do I get my stuff into main?
>
> Regards,
> Leigh.
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

test

Mensaje por jfgimenez »

Capsol,
> Why does xailer rewrite the Main sub all the time.?
> How do I get my stuff into main?
Take a look at this articles:
http://sailingwithxailer.blogspot.com/2 ... nced-xaile r-techniques-application_27.html
http://sailingwithxailer.blogspot.com/2 ... nced-xaile r-techniques-application.html
--
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
david fung
Mensajes: 257
Registrado: Mié Jul 19, 2006 8:48 am

test

Mensaje por david fung »

Jose F. Gimenez wrote:
> http://sailingwithxailer.blogspot.com/2 ... nced-xaile r-techniques-application.html
>
The source file is missing from http://www.xailer.com/files/tecnicas2.zip
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

test

Mensaje por jfgimenez »

David,
>> http://sailingwithxailer.blogspot.com/2 ... nced-xaile r-techniques-application.html
>>
>
> The source file is missing from http://www.xailer.com/files/tecnicas2.zip
sorry. It can be downloaded from
http://xailer.info/esp/esp/wp-content/u ... /12/tecnic as2.zip
--
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
Responder