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.

How top start on Tfolder page1 every time the program starts

Xailer professional forum in English
Responder
jemstv
Mensajes: 133
Registrado: Mar Jul 27, 2010 3:56 pm

How top start on Tfolder page1 every time the program starts

Mensaje por jemstv »

hi again!!
I have a program with a tfolder of 4 pages, ifd i am on page 2 when i exit the program it starts on page 2 next time i load the program
what can i do to force page 1 always at start of program
thanks in advance
test
Mensajes: 5
Registrado: Mié Abr 08, 2015 1:02 pm

How top start on Tfolder page1 every time the program starts

Mensaje por test »

Josemo,
Force a save of the form when page 1 is selected, or on the Event
TForm:OnInitialize include this code:
oFolder:nIndex := 1
Regards,
"Josemo" <magjem[at]sbcglobal[dot]net> escribió en el mensaje de
noticias:4c93d769$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> hi again!!
>
> I have a program with a tfolder of 4 pages, ifd i am on page
> 2 when i exit the program it starts on page 2 next time i
> load the program
>
> what can i do to force page 1 always at start of program
>
> thanks in advance
>
>
>
>
jemstv
Mensajes: 133
Registrado: Mar Jul 27, 2010 3:56 pm

How top start on Tfolder page1 every time the program starts

Mensaje por jemstv »

Thanks that did it !!
Responder