Página 1 de 1

Unusual Behaviour

Publicado: Vie May 20, 2011 3:02 pm
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)Â

Unusual Behaviour

Publicado: Vie May 20, 2011 3:15 pm
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

Unusual Behaviour

Publicado: Vie May 20, 2011 4:21 pm
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

Unusual Behaviour

Publicado: Vie May 20, 2011 10:33 pm
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