You are on page 1of 3

Visual Basic 1 Page n:v :t

ixnn nw s ) StatusBar Control (

o5upc c n\v: .
- en / library =/ url ? asp . default / library / com . microsoft . msdn :// http
asp . jStatusBar vbob / html / 198 cmctl / us

, :~u c n\v: .
asp . 10 commoncontrols / vb / il . ac . eitan . 2 www :// http

nou . :5n asc :v n~: nu s: ucuc ~p5n .

ascn u ~p5a ucu: , a5 jun: u ; Component ( o>an tx> ) ToolBox ( .


Microsoft Windows Common Controls 6.0

~on o:u . ~a 5 , u5on na upc ~p5n ; . v upcn :u: ,: ,5c


Align (. ~p5n uu: c~pn . sbr
~p5: jun: :5: u::5 ; n: .(

>o ov o:ou Panels :

:n ;ou oo
n n:n ax :v xsu oupo ; ,5c Style n:u c ~x 5 -sbrText ( Text
5 xsu oupo :u vas uv ax :v a5vn n:n ToolTipText
n a5a ::5n uu ~p Key
oupon u ,5 Alignment
Visual Basic 2 Page n:v :t
su n:n xu Style
n::snn ,5 , : nxs va - :u ~cc n:n Bevel
n:n :~x , v vapu 55 :5n AutoSize
n:n :u :c:cn :~xn MinWidth
n:n xuca xsu n:c Picture

n:n:>n x:v - n ;ou >a> >:ao oav - Style ) a - panels (


c n:aon MSDN .
Constant Value Description
sbrText 0 (Default). Text and/or a bitmap. Set text with the
Text property.
sbrCaps 1 Caps Lock key. Displays the letters CAPS in bold
when Caps Lock is enabled, and dimmed when
disabled.
sbrNum 2 Number Lock. Displays the letters NUM in bold
when the number lock key is enabled, and dimmed
when disabled.
sbrIns 3 Insert key. Displays the letters INS in bold when the
insert key is enabled, and dimmed when disabled.
sbrScrl 4 Scroll Lock key. Displays the letters SCRL in bold
when scroll lock is enabled, and dimmed when
disabled.
sbrTime 5 Time. Displays the current time in the system
format.
sbrDate 6 Date. Displays the current date in the system format.
sbrKana 7 Kana. displays the letters KANA in bold when kana
lock is enabled, and dimmed when disabled.
(enabled on Japanese operating systems only)

Visual Basic 3 Page n:v :t

ux:~ aavn o:u nxxn> :on >:on nva> :

Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single,


Y As Single (
SbrExample.Panels(2).Text = "x:" & X & " y:" & Y
End Sub