Results 1 to 2 of 2

Thread: Stick a Label on form's corner during resize

  1. #1
    Lively Member
    Join Date
    Oct 11
    Posts
    126

    Stick a Label on form's corner during resize

    I want to always display a label in the form's top right corner. even after form resizing. how can i do this please?

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 02
    Location
    Bristol, UK
    Posts
    35,564

    Re: Stick a Label on form's corner during resize

    In the forms _resize event:
    Code:
    If Me.WindowState <> vbMinimized Then
      Label1.Move Me.ScaleWidth - Label1.Width, 0
    End If
    (untested, but should at least be close)

Posting Permissions

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