Results 1 to 4 of 4

Thread: [RESOLVED] Disallowing StatusStrip movement at Runtime

  1. #1

    Thread Starter
    Addicted Member SidCMC's Avatar
    Join Date
    Jan 2008
    Location
    Mumbai, India
    Posts
    166

    Resolved [RESOLVED] Disallowing StatusStrip movement at Runtime

    Hi Friends,

    I have a StatusStrip at the bottom of the Form.
    When i run the form I am able to drag it and move it
    towards the top. So the StatusStrip just disappears.
    I dont want the user to be able to MOVE the
    strip. How do I do that ??

    Thank You,
    Siddharth
    THE BEST WAY TO THANK A HELPFUL POST IS TO RATE IT!!!!
    Take up one idea. Make that one idea your life - think of it, dream of it, live on that idea. Let the brain, muscles, nerves, every part of your body, be full of that idea, and just leave every other idea alone.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Disallowing StatusStrip movement at Runtime

    What you're asking for is the default behaviour so I would think that you would have had to have made the change in the first place. Maybe I'm wrong but I've never seen a StatusStrip draggable by default. What is the Dock property set to? It should be Bottom.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member SidCMC's Avatar
    Join Date
    Jan 2008
    Location
    Mumbai, India
    Posts
    166

    Resolved Re: Disallowing StatusStrip movement at Runtime

    Hi John,

    I just fixed it.
    The Dock property was set to bottom
    but the anchor property was not set to bottom.
    I just set it. So it works fine now.

    Thanks
    Sid.
    THE BEST WAY TO THANK A HELPFUL POST IS TO RATE IT!!!!
    Take up one idea. Make that one idea your life - think of it, dream of it, live on that idea. Let the brain, muscles, nerves, every part of your body, be full of that idea, and just leave every other idea alone.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [RESOLVED] Disallowing StatusStrip movement at Runtime

    That still doesn't really make sense. The The Anchor property is irrelevant if the Dock property is set. As soon as you set the Anchor, Dock is set to None. That's how it works for me anyway.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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