¡@¼ÊºÙ: ÀH·ÄÆ¿ºªº¦Ð¤ò ¡@ÀY»Î: [±s¥Î]¼ç¤ô¸¥
°ª¤¤¥Í
- ©«¤l
- 852
- ¥DÃD
- 79
- ºëµØ
- 0
- ¿n¤À
- 918
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7 , XP
- ³nÅ骩¥»
- Office 2007, Office 2003,Office 2010,YoZo Office
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦t©z
- µù¥U®É¶¡
- 2011-4-8
- ³Ì«áµn¿ý
- 2024-2-21
|
[µo°Ý] [µo°Ý]Ãö©ó °ÊºA·s¼W¤¸¥óªºµ{¦¡½X«½Æ°Ï°ì°ÝÃD
°ÝÃD±Ôz¡G
·s¼W°ÊºA¤¸¥ó¡A¦³®ÉÔ¥²¶·³]©w¸Ó¤¸¥ó¤§¬ÛÃö³]©w(¦p¡G¦ì¸m¡B¤j¤p¡BÃC¦â..µ¥)
·|³y¦¨¤@¨Çì©l¥N½Xªº«½Æ(¦p¤U¦Cì©l½Xªº .Font = New Font(fontFamily, 14, FontStyle.Regular, GraphicsUnit.Pixel) ' ¦rÅé¡B¤j¤p¡BÃþ«¬ )
¦pªG¤¸¥ó¬° °}¦C¤¸¥ó ¥i¥H¬Ù¤U¤£¤Ö¦¨¦¡½X ÂǦ¹ÁYµuµ{¦¡¹B¦æªº®É¶¡
¬Û¦P¹D²z
¦pªG¸Ó¬Û¦P°Ï°ì¦³¤è¦¡¥N´Àªº¸Ü¡A¹ï©óµ{¦¡¹B¦æÀ³¸Ó¦³¤@©wªº¥[¤À®ÄªG¡C
¦p sclab©M sccob ªº .Height ©M.width (¦¹¨âºØ¬°¼ÆÈ)
·Q½Ð±Ð
1.
.Font = New Font(fontFamily, 14, FontStyle.Regular, GraphicsUnit.Pixel) ' ¦rÅé¡B¤j¤p¡BÃþ«¬
³oºØ¤£ÄÝ©ó¼Æ¦r©M¤å¦rªºµ{¦¡½X
¬O§_¦³¤è¦¡¥i¥H¨ú¥N?
2.
·s¼W°ÊºA¤¸¥ó ¬O§_¥i±N¤£¬Û¦PÃþ«¬ªº¤¸¥ó( Combobox Textbox Button )
¥Î°}¦Cªº¤è¦¡«Å§i
ì©l½X¦p¤U¡G
Dim fontFamily As New FontFamily("·L³n¥¿¶ÂÅé")
With sclab
.Width = (Me.Width) / 6
.Height = 24
.Location = New Point(15, 15)
.BorderStyle = BorderStyle.FixedSingle
.Font = New Font(fontFamily, 14, FontStyle.Regular, GraphicsUnit.Pixel) ' ¦rÅé¡B¤j¤p¡BÃþ«¬
.AutoSize = False
.TextAlign = ContentAlignment.MiddleCenter
End With
With sccob
.Width = (Me.Width) / 3
.Height = sclab.Height
.Location = New Point(sclab.Width + sclab.Location.X + 10, 15)
.Font = New Font(fontFamily, 14, FontStyle.Regular, GraphicsUnit.Pixel) ' ¦rÅé¡B¤j¤p¡BÃþ«¬
.AutoSize = False
End With
With sccob1
.Width = (Me.Width) / 5
.Height = sclab.Height
.Location = New Point(sccob.Width + sccob.Location.X + 10, 15)
.Font = New Font(fontFamily, 14, FontStyle.Regular, GraphicsUnit.Pixel) ' ¦rÅé¡B¤j¤p¡BÃþ«¬
.AutoSize = False
End With
With sctext1
.Width = (Me.Width) / 4.25
.Height = sclab.Height
.Location = New Point(sccob1.Width + sccob1.Location.X + 10, 15)
.BorderStyle = BorderStyle.FixedSingle
.Font = New Font(fontFamily, 16, FontStyle.Regular, GraphicsUnit.Pixel) ' ¦rÅé¡B¤j¤p¡BÃþ«¬
.AutoSize = False
'.TextAlign = ContentAlignment.MiddleCenter
End With
With lab3x 'Åã¥Üµ²ªG
.Height = sclab.Height + 20
.Width = (sctext1.Width + sctext1.Location.X) - sclab.Location.X
.Location = New Point(sclab.Location.X, sclab.Height + sclab.Location.Y + 10)
.BorderStyle = BorderStyle.FixedSingle
.Font = New Font(fontFamily, 14, FontStyle.Regular, GraphicsUnit.Pixel) ' ¦rÅé¡B¤j¤p¡BÃþ«¬
.AutoSize = False
.TextAlign = ContentAlignment.MiddleCenter
End With |
|