|
Problem description: I have 3 windows(Forms). 1st form is on the top of the screen - like Lazarus main window. I want to show two other windows below the main window, and closely to each other. So I wrote: SecondForm.Left :=1; SecondForm.Top :=MainForm.Top + MainForm.Height; ThirdForm.Top :=MainForm.Top + MainForm.Height; ThirdForm.Left :=SecondForm.Left + SecondForm.Width; This code works well in Delphi. But in Lazarus I see that SecondForm and ThirdForm IS NOT placed below the MainForm - they are ON IT. So the .Top of 3rd and 2nd windows are not calculated correctly. It is smaller than expected and the difference is looking like a height of main window TitleBar. I try to find some information about this in Wiki and also in other Lazarus documentation, examples, but had found nothing. Thank you for your help. Regards, Alexey. |
- Re: [lazarus] Some questions about TForm.Height Alex Smirnov
- Re: [lazarus] Some questions about TForm.Height Alex Smirnov
- Re: [lazarus] Some questions about TForm.Heig... Tony Maro
- Re: [lazarus] Some questions about TForm.... Michael Van Canneyt
- Re: [lazarus] Some questions about TF... Andrew Haines
- Re: [lazarus] Some questions abo... Michael Van Canneyt
- Re: [lazarus] Some questions... Andrew Haines
- Re: [lazarus] Some questions about TForm.Heig... Micha Nelissen
- Re: [lazarus] Some questions about TForm.... Tim Laurent
- Re: [lazarus] Some questions about TForm.... Alex Smirnov
- Re: [lazarus] Some questions about TForm.Heig... Vincent Snijders
