Jump to content

Aligning Controls in the DetailFrame of the Grid - RowWidget example


MarkB

Recommended Posts

Starting with the Grid - Row Widget example I want the UniDBGrid to Align as alClient 

I've removed the Chart from the Detail Frame.

 

I've set the DetailFrame to alClient and the UniDBGrid to alClient and it aligns at design time, but not at Run Time.

This is what it looks like.

I've attached the project here as well.

Thanks.

 

image.thumb.png.13bd1ec47ca2c1c525aaad15708bb18f.png

Grid - RowWidget.zip

Link to comment
Share on other sites

One other thing.  I originally had these controls on a TUniPanel so I could use the OnResize event and I found that event only fires when you collapse and expand the RowWidget.  I can then align them then, but I can't figure out how to get the OnResize to fire when the TDetailFrame is first created.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...