• Instruction (VB6)

    Author
    Topic
    #395306

    Is there a book or site that explains the settings on properties?

    i.e. On a form the property “StartUpPosition” has 4 settings: 0 – Manual; 1 – CenterOwner; 2 – CenterScreen; 3 – WindowDefault

    I need something that will tell me what the difference is for these and other settings of properties. I have tried changing the settings to see the result but there was none that I could see.

    confused
    Mary

    Viewing 3 reply threads
    Author
    Replies
    • #732063

      Complete documentation for VB6 can be found in the MSDN library: Visual Basic Documentation Map.

      But admittedly, the descriptions are often rather terse. For StartupPosition, it says this:

      Constant Value Description
      vbStartUpManual 0 No initial setting specified.
      vbStartUpOwner 1 Center on the item to which the UserForm belongs.
      vbStartUpScreen 2 Center on the whole screen.
      vbStartUpWindowsDefault 3 Position in upper-left corner of screen.
      • #732073

        Hi Hans

        Thanks for your reply. The search on this site is much better than the MSDN Library CD I have.

        thankyou
        Mary

        • #732356

          I’m not sure, but I think that the October 2001 MSDN Library was the last MSDN distribution to have the full VB 6 stuff.

          If you have the October 2001 edition, you may want to install that in addition to the later editions which have the newer format/

        • #732357

          I’m not sure, but I think that the October 2001 MSDN Library was the last MSDN distribution to have the full VB 6 stuff.

          If you have the October 2001 edition, you may want to install that in addition to the later editions which have the newer format/

      • #732074

        Hi Hans

        Thanks for your reply. The search on this site is much better than the MSDN Library CD I have.

        thankyou
        Mary

    • #732064

      Complete documentation for VB6 can be found in the MSDN library: Visual Basic Documentation Map.

      But admittedly, the descriptions are often rather terse. For StartupPosition, it says this:

      Constant Value Description
      vbStartUpManual 0 No initial setting specified.
      vbStartUpOwner 1 Center on the item to which the UserForm belongs.
      vbStartUpScreen 2 Center on the whole screen.
      vbStartUpWindowsDefault 3 Position in upper-left corner of screen.
    • #732371

      Don’t forget about the handy ol’ F1 key. For your particular example, clicking StartUpPosition in the Properties window of the IDE then hitting F1 jumps to a help screen showing:

      StartUpPosition Property

      Returns or sets a value specifying the position of a UserForm when it first appears.

      You can use one of four settings for StartUpPosition:

      Setting Value Description
      Manual 0 No initial setting specified.
      CenterOwner 1 Center on the item to which the UserForm belongs.
      CenterScreen 2 Center on the whole screen.
      WindowsDefault 3 Position in upper-left corner of screen.

      Remarks
      You can set the StartUpPosition property programmatically or from the Properties window.

      Alan

      • #732375

        Depends on whether you have the online help. I managed to convince IT to install VB6 for me (I can’t install software myself), but the MSDN collection was a bridge too far… hairout

      • #732376

        Depends on whether you have the online help. I managed to convince IT to install VB6 for me (I can’t install software myself), but the MSDN collection was a bridge too far… hairout

    • #732372

      Don’t forget about the handy ol’ F1 key. For your particular example, clicking StartUpPosition in the Properties window of the IDE then hitting F1 jumps to a help screen showing:

      StartUpPosition Property

      Returns or sets a value specifying the position of a UserForm when it first appears.

      You can use one of four settings for StartUpPosition:

      Setting Value Description
      Manual 0 No initial setting specified.
      CenterOwner 1 Center on the item to which the UserForm belongs.
      CenterScreen 2 Center on the whole screen.
      WindowsDefault 3 Position in upper-left corner of screen.

      Remarks
      You can set the StartUpPosition property programmatically or from the Properties window.

      Alan

    Viewing 3 reply threads
    Reply To: Instruction (VB6)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: