Sei sulla pagina 1di 3

Visual Basic 1 Page :t n:v

oY>n Yxo s ) ToolBar Control



o::o:;::: nx: n:v :
- en / library =/ url ? asp . default / library / com . microsoft . msdn :// http
asp . bar vbobjtool / html / 198 cmctl / us

;n:x n:x::o nx: n:v :
asp . 6 menu / vb / il . ac . eitan . 2 www :// http


* c:::n ::o: c:::c: , ::: ;:o:n: c: ) Component ( c::n r:: ) ToolBox ( :
Microsoft Windows Common Controls 6.0

o:n c::n ::o :rr:: c:no rr :
** :: :::c : v c:::o: c:ncn: ::::c ::: " c:::n ::o : , :s:: :: c::; nx :;: ImageList ,
cx c:nx c::;: ::: :v c:::c: c::n::n c:::s ;o:x :::: ) ns: ;::: nx: x: .(
;:::x:: insert :;:n :c , n::::n ;:o:: . o;:::x n::;: n:::n :: .

rn c::n ::o : c;v c: :
::xvn ;nr: ) Design Mode ( , ;: c: c:::::x:n nx ;::v: ;n:: Property Pages


: c;v c:rn - general

:n ;oun oo
:cn np: :cc ~p5n
ImageList
vap u:5n :xu: aauc xuc nn u
BorderStyle
u:sn:n nax :xua
ButtonHeight
:xua u:sn:n an
ButtonWidth
:xun :u: u5 nn ucuc: un vap
AllowCustomize
xs un vap u5on :vc asc a5vn ,cuu ,c\a u:sn:n ~n
ShowTips
u:sn: ~c u n~ca 5u: nu: u:x u:5n :xu u vap
Wrappable
~xc ~p5 ImageList n:u , u ,5cu u:5n :xu :sn:: us p5u
Enabled ~xc un:u False
DisabledImageList
Visual Basic 2 Page :t n:v
~p5 ~xc ImageList xuc u:sn: av u:cu p5u u n:u
DropDown - CheckStyle
HotImageList
u:5n :xu: ~cc : op5 ju u vap
Style


a ov o:ou - Buttons

:n ;oun oo
,sn:n :v v5u uu
Caption
~pn a5a ,sn:n uu
Key
,sn:n xu ; ucna o5 (
Style
v v5u n:cn up~: vap ,sn:n x
Image
,sn:n :v a5vn uv ~cv:u5 xsu oupo
ToolTipText
xs un vap :vc asc a5vn ,cuu ,c\a u:5 u:sn:n ~n
ShowTips
u:sn: ~c u n~ca 5u: nu: u:x u:5n :xu u vap
Wrappable
~xc ~p5 ImageList n:u , u u:5n :xu :sn:: us p5u
,5cu Enabled ~xc un:u False
DisabledImageList

ou >o oavn ; Style ) a - Buttons (

;oun |v
tbrDefault-0
:x ,sn:
tbrCheck-1
5: : :v5 asca sc: cuc u5u ,sc
asc
tbrButtonGroup-2
nsapc p:n . ; _n: n: :5 nsapn c ~n p
,c\a ,: (
tbrSeperator-3
,sn:n u:sn: ,a n5 ucu ; an 5 - s u:up5 (
brPlaceHolder-4
u:5n :xua upc cu: ucu
tbrDropDown-5
s: ncu a u:5n :xua n5:


Visual Basic 3 Page :t n:v
ux:~ |:nu msdn :
Private Sub tbrExample_ButtonClick(ByVal Button As Button)
' Use the Key property with the SelectCase statement to
specify an action.

Select Case Button.Key
Case Is = "open" ' Open file.
MsgBox "Add code to open file here!"
Case Is = "save" ' Save file.
MsgBox "Add code to save file here!"
End Select
End Sub

Potrebbero piacerti anche