![]() |
#1
|
|||
|
|||
![]()
Hi and thanks for the Help in advanced
Does anyone have any idea how can I can get this accomplish I have two windows Form1 and Form2 (Form2 Smaller than Form1). Form1 Opens, then if I click on a button to open Form2, I would like Form2 to position itself on the right-lower corner on top of Form1, right-lower corner. On another words. Form2 lower-right corner, on top of Form1 lower-right corner. Thanks Regards |
#2
|
|||
|
|||
![]() Code:
procedure TForm1.Button1Click(Sender: TObject); var X, Y: Integer; begin X := Form1.Left + Form1.Width; Y := Form1.Top + Form1.Height; Form2.Left := X - Form2.Width; Form2.Top := Y - Form2.Height; Form2.Show; end; |
#3
|
|||
|
|||
![]()
I was planning to give some answers, but it looks we have more expertise which I like.
More ever, I am very happy to see you around my friend. Best Regards,
__________________
Regards, Abdulaziz Jasser |
#4
|
|||
|
|||
![]()
Hi and thanks both for the help and the intent.
Is so always good to see you around here too Jasser. kolbasz, you and others, are the great spirit of this marvelous web site, some people say that Delphi is dead, I think that those people are blind, and people like you and kolbasz are proving wrong. Thank you both Regards, |
#5
|
|||
|
|||
![]() Quote:
|
#6
|
|||
|
|||
![]()
That's the beauty of democracy we can disagree on something and still be friends. Lol
I don't think so, the out coming product looks robust and I am aware of lots of companies in which are switching from Microsoft Visual Studio and now going with Delphi, because of its use simplicity and rapid development to almost all platforms. Object Pascal will still object Pascal, no matter what, a robust, efficient and super fast language. Although Embarcadero, says that their main objective is to deliver to single programmers out there, I am more inclined to believe that Delphi is more for bigger companies because of its outrageous price increase which makes a great percent of single developers almost impossible to afford the product, making single developers to look at other options, mean while Big Companies to save tons of moneys and fast delivery by switching to Geico, I mean switching to Embarcadero. Regards |
#7
|
|||
|
|||
![]()
Hi Kolbasz
Thanks for your help. This is what I was looking for. Thanks, Regards |
#8
|
|||
|
|||
![]()
You're welcome delphimpd! I'm glad I could help!
|
![]() |
Thread Tools | |
Display Modes | |
|
|