Results 1 to 4 of 4

Thread: Static Label?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2009
    Posts
    133

    Static Label?

    What is the difference between a regular label and a static label?

  2. #2
    Wait... what? weirddemon's Avatar
    Join Date
    Jan 2009
    Location
    USA
    Posts
    3,826

    Re: Static Label?

    This should give you some understanding.
    CodeBank contributions: Process Manager, Temp File Cleaner

    Quote Originally Posted by SJWhiteley
    "game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....

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

    Re: Static Label?

    There is no "offical" thing called a "static label". The only official meaning of the word "static" in VB is a modifier on local variables so that they persist their value while they are out of scope. A variable can be Static but a Label can't.

    The general meaning of the word "static" is unmoving or unchanging so, in that sense, a Label might be considered static if you never change its Text. There's nothing special about the actual Label though, just as there's nothing special about a car that you never paint a different colour. The fact that you don't do something to an object doesn't make the object special.
    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

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

    Re: Static Label?

    Quote Originally Posted by weirddemon View Post
    This should give you some understanding.
    It's worth noting that that documentation relates to Win32 development, not .NET development. Also, if you do consider a control that can't be selected as being "static" then all Labels are static, so a regular Label is a static Label and there's no other kind.
    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