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.

Unusual Behaviour

Xailer English public forum
Responder
bobfburns
Mensajes: 5
Registrado: Mié May 18, 2011 10:12 am

Unusual Behaviour

Mensaje por bobfburns »

As part of my Xailer learning process I have built a very simple application consisting initially of a collection of forms accessed by a menu on the opening form. Everything was built in the IDE with just the form opening code written by hand. What I do not understand is:
1) Opening and closing the lower level forms works but they open in different places each time despite being centred.
2) The form titles in the title bar do not display
3) Both forms are the same size despite showing as different sizes in the IDE.
I have attached the experted application.
Xailer 2.3 Demo running under Windows 7 with Borland C compiler
Thanks for looking
Bob


Attached files Logbook-1-0-0-0.zip (4 KB)Â
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

Unusual Behaviour

Mensaje por jlalin »

Bob,
I haven't run the sample application but looking at the code this line:
tform4():show()
should be changed to:
TForm4():New( Self ):Show()
In the first case you are using the class object TForm4 while in the second
one TForm4 is a class instance of that object.
Regards,
José Lalí­n
bobfburns
Mensajes: 5
Registrado: Mié May 18, 2011 10:12 am

Unusual Behaviour

Mensaje por bobfburns »

Hi Jose
Thank you for your reply and help. After 25 years of procedural programming I am taking a while to learn object oriented rules. I did look through the help files but could not find a syntax guide.
A simple application in Xailer like MS provide in Access would be very helpful to beginners like myself.
Regards
Bob
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

Unusual Behaviour

Mensaje por jlalin »

Bob,
> Thank you for your reply and help. After 25 years of
> procedural programming I am taking a while to learn object
> oriented rules. I did look through the help files but could
> not find a syntax guide.
It could seem hard at the begining but once you get used to it is very easy :-D
> A simple application in Xailer like MS provide in Access
> would be very helpful to beginners like myself.
I think there is a full one on samplesdatacontrols
Regards,
José Lalí­n
Responder