VBÖÐÔõô×ö´°¿ÚÉìËõ
¾ÍÊÇÒ»¸ö´°¿Ú£¬·ÅÉÏÒ»¸ö°´Å¥£¬
°´Ò»Ï£¬Òþ²Ø´°¿ÚµÄÒ»°ë£¬ÔÙ°´Ò»Ï£¬ÓÖÏÔʾ³öÀ´³ÉÒ»¸öÍêÕû´óС¶¼´°¿Ú
If Me.Height = 300 Then Me.Height = 600 Else Me.Height = 300
if me.left=0 then
me.left=-300
else
me.left=0
endif
VB code:
Dim a As Double
Private Sub Command1_Click()
If Command1.Caption = "ÊÕËõ" Then
Form1.Height = a / 2
Command1.Caption = "ÉìÕ¹"
Exit Sub
End If
If Command1.Caption = "ÉìÕ¹" Then
Form1.Height = a
Command1.Caption = "ÊÕËõ"
Exit Sub
End If
End Sub
Private Sub Form_Load()
a = Form1.Height
Command1.Caption = "ÊÕËõ"
End Sub
лл£¬µ«Ê¹ÓÃÁ˶¼²»ÊÇÎÒÒªµÄЧ¹û¡£
Ïà¹ØÎÊ´ð£º
Printer.ScaleMode = 6
6±íʾºÁÃ×
Printer.PaperSize = vbPRPSA4
'³õÊ¼×ø±ê
x = 1
y = 4
'×î´óµÄÏß¿ð
Printer.DrawStyle = 0
Printer.Line (x, y)-(x + 132.5, y) ......
TF1.text = " <_2_ZCHGZBH> " & MSFlexGrid1.TextMatrix(k, 1) & " </_2_ZCHGZBH> "
´ó¼ÒºÃ£¬ÎÒÓÃÉÏÃæÒ»¸ö¶«Î÷¸³Öµ TF1.text = & ......
ÌâÄ¿ÃèÊöÓ¦¸Ã²»ÊǺÜ׼ȷ¡£
ÏÖ×´ÊÇ£º¼ÙÈçÒ»¸öÎı¾Îļþ¹²100ÐУ¬ÄÇôÎÒÑ»·´ÎÊý×î´ó¾ÍÊÇ100×100=10000Ï£¬»¨·Ñʱ¼ä·Ç³£¶à£¬ÇëÎÊÓÐûÓа취Äܹ»Ìá¸ß¶ÔÎı¾ÎļþµÄÑ»··ÃÎÊËÙ¶È¡£·ÇÊý¾Ý¿â¼¼Êõ¡£
ÄãҪѻ·×öʲô£ ......
¾ÍÊÇÉè¼ÆÒ»¸ö¼ÆËã»úÄ£Ä⿼ÊÔϵͳ£¬´øÓÐѧÉúºÍ¹ÜÀíÔ±£¬ËùÒԵǼ´°ÌåºÍÖ÷´°ÌåÏë·Ö¿ª£¬µÇ½ѧÉúµÄÏÔʾѧÉúµÄÖ÷´°Ì壬µÇ½¹ÜÀíÔ±ÏÔʾ¹ÜÀíÖ÷´°Ì壬ÎÒÖ»»áÒ»¸ö´°ÌåÓÃÒ»¶Ñ¿Ø¼þ£¬ÏÖÔÚÏíÓжà¸öÖ÷´°Ì壬²»ÖªµÀÔõô×ö£¬Ï£ÍûÇë´ó ......