Results 1 to 10 of 10

Thread: [Rslvd:Thnx 2 Mendhak,Crptcblade] How do I find the Height of the Titlebar of a Form?

Threaded View

  1. #1

    Thread Starter
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397

    [Rslvd:Thnx 2 Mendhak,Crptcblade] How do I find the Height of the Titlebar of a Form?

    When placing controls dynamically on a form, I'd like to resize the form to be a certain amount more than the bottom edge of the bottom control placed on the form. However, its the same old problem, the vertical position of a control does not include the height of the titlebar of the form, so saying something like:

    VB Code:
    1. Me.Size = New Size(New Point(Me.Width, mybuttons(255).Bottom + mybuttons(255).Height))

    still cuts off the control array.


    -Lou

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width