VB6 Tutorial 11: Common Properties 3 of 3

Posted On 2018-03-25 by VB6Boy
Keywords: visual,basic,vb6,visualbasic,tutorial,basic,beginner,common,properties,part3
Tags: VB6 Tutorials Windows
Views: 80


Looking for the more of the VB6 Tutorial? Here is the tutorial index.

This is the third and final part of the common properties section, in which a description of properties that are common to most VB6 controls.

The TabIndex and TabStop property

The TabStop property indicates whether the user can use the TAB key to give the focus to an object. You can give focus to the objects pressing the TAB key in the daily use software applications.

The TabIndex property sets the tab order of an object.

Example

Command3.TabIndex = 0
Command2.TabIndex = 1
Command1.TabIndex = 2

When you press the TAB key, the focus will be given on Command3 first, then on Command2 and at last on Command1.

Movable

Determines whether an object is movable.

Locked

Determines whether an object e.g TextBox can be edited.

The Tag Property

Stores any extra data for your program that is used in the code.

Control Box

Indicates whether a control-menu box is displayed on the form at run time. If this property is set to False, the Close Button, Minimize Button and Maximize Button are not shown on the form.

ShowInTaskBar

Determines whether the form appears in the windows taskbar.

StartUpPosition

Specifies the position of the form when it first appears.

Icon

Sets the icon displayed when the form is minimized at run time.

Looking for the more of the VB6 Tutorial? Here is the tutorial index.


About the Author

VB6Boy has posted a total of 71 articles.


Comments On This Post

By: AnonymousCoward
Date: 2018-03-31

Hey VBBoy, just wanted you to know I'm here and *someone* is reading your stuff. You're not alone brother.
 

By: VB6Boy
Date: 2018-03-31

Haha thanks! I'm just glad someone is getting some use out of these posts.

I'm working on the rest of the series, and should be able to have them submitted tomorrow.  The webmaster will only release two per day, though. :(

By: CrazyDude2
Date: 2018-04-02

Not sure why it's posting me as "AnonymousCoward". I didn't sign up as that.  I might be a coward, but I don't care if I'm all that anonymous. :)  I know a lot of this stuff coz I been in it since 2003, but there's stuff that's always eluded me, like Xor and And ops, so look forward to that.  I know there's a lot of those tutorials online, but since you're making them, why not use yours?

By: VB6Boy
Date: 2018-04-02

Looks like you got it sorted.  I'll poke dwirch about your issue.  He might be already chasing it down, though.  He's usually pretty on top of these things.

By: VB6Boy
Date: 2018-04-02

Oh and ... I've got a numeric functions lesson coming up in a bit.  Should be around lesson 37 or so.  


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:23.20.165.182

Before you can post, you need to prove you are human. If you log in, this test goes away.




Code Links