Results 1 to 6 of 6
  1. #1
    New Lounger
    Join Date
    Aug 2002
    Location
    Ontario, Canada
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Instruction (VB6)

    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.


    <img src=/S/confused.gif border=0 alt=confused width=15 height=20>
    Mary

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Instruction (VB6)

    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:

    <table border=1><td>Constant</td><td>Value</td><td>Description</td><td>vbStartUpManual</td><td align=right>0</td><td>No initial setting specified.</td><td>vbStartUpOwner</td><td align=right>1</td><td>Center on the item to which the UserForm belongs.</td><td>vbStartUpScreen</td><td align=right>2</td><td>Center on the whole screen.</td><td>vbStartUpWindowsDefault</td><td align=right>3</td><td>Position in upper-left corner of screen.</td></table>

  3. #3
    New Lounger
    Join Date
    Aug 2002
    Location
    Ontario, Canada
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Instruction (VB6)

    Hi Hans

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

    <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15>
    Mary

  4. #4
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Instruction (VB6)

    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/

  5. #5
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Instruction (VB6)

    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:
    <img src=/w3timages/blueline.gif width=33% height=2>
    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.
    <img src=/w3timages/blueline.gif width=33% height=2>

    Alan

  6. #6
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Instruction (VB6)

    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... <img src=/S/hairout.gif border=0 alt=hairout width=31 height=23>

Posting Permissions

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