Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > VCL

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2016, 10:14 AM
lexd lexd is offline
Senior Member
 
Join Date: Feb 2015
Posts: 268
Default Placing child VCL Objects into a main Object sizing

I have my own tab object that I have rewrote
1/ The Delphi Tab object sucks as it runs 3 TStrings to move the tabs info to the paint method.

2/ I've made the child object hold the tab info and 1 TStrings to take the details to the tabs.
But in doing so my child object now sizes its self over the tabs.
How do i size the child objects under the Tabs?

WMSize contains
RedrawWindow(Handle, nil, 0, RDW_INVALIDATE or RDW_ERASE);

but that's nothing to do with child objects as the handle is from self
what is normally used?

TCMAdjustRect but how do you execute the message so FSavedAdjustRect is set

Last edited by lexd; 09-12-2016 at 10:28 AM.
Reply With Quote
Reply

Tags
delphi

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:56 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.