Set length of embedded components
Posted: Tue Aug 15, 2006 7:18 am
Hi
What is the best place to set the correct width and hight of embedded components like TCheckBox and TGroupBox.
And how do i calculate the values? They have no Canvas to get it by Canvas.TextLengt(). The Canvas of the "container"-RichView has an undefined value in OnControlAction.
Thanks
What is the best place to set the correct width and hight of embedded components like TCheckBox and TGroupBox.
And how do i calculate the values? They have no Canvas to get it by Canvas.TextLengt(). The Canvas of the "container"-RichView has an undefined value in OnControlAction.
Thanks