Solved

TFormOnResize Glitch

Posted on 2002-06-05
6
118 Views
Last Modified: 2010-04-04
Using a PageControl type notebook and wanting to resize the page contents as the program window is resized, it only works when a specfic page is open.  All pages resize when the one page is open, but none resize when other pages are open.  I think the page that triggers the event is the page that was open when the event handler was created.  I want the form to resize no matter which page is open.  Is it possible that editting the (sender: TObject)can affect the event trigger? Any clues on any of this?
0
Comment
Question by:dpnd88
6 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 7056937
are you sure that u use a TPageControl and not a TTabControl?

if u use a TTabControl, then use a TPageControl instead
if u use a TPageControl, then set its Anchors-Property as you need

no coding required

maybe you should explain a bit more

meikl ;-)
0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 7058350
listening... for now :)
0
 

Author Comment

by:dpnd88
ID: 7059368
The TPageControl is easier to work with and I am talking about dynamically resizing 6 DBCharts so they fill the screen.  This works now, but only when the page that was open when the Event was created is open.  So to resize other pages, I need to go to the one page to do it. essentially only one page ot the PageControl has the Sender function.  Can I code to give it to another page in addition to the first one?
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 7059386
use the anchor-properties of the objects of each-page,
or if the charts the only one object is on each page,
set its align to alclient

no coding required

do i miss something?

meikl ;-)
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9010462
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from kretzschmar

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to convert wav to mp3 in delphi 9 137
Delphi XE10, MySQL Query 4 109
Best Firemonkey component pack 1 73
SUM 2 INTEGER ARRAYS INTO 1 10 58
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now