Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

VBÖÐmove·½·¨µÄÎÊÌâ

ÇëÎÊ»áVBµÄ¸ßÊÖ¡£
ÎÒÔÚVBÖÐʹÓÃMOVE·½·¨¸Ä±ä¿Ø¼þµÄ´óС¡£ºÍ£º
ÎÒÓÿؼþheight , widthÊôÐÔµ÷Õû´óС¡£ÕâÁ½ÖÖ·½Ê½ÄĸöËٶȸü¿ì£¿»òÕß˵¸üºÃ£¿
API×î¿ì

ÕâҪʵ²âһϣ¬ÔÚÎÒµÄÓ¡ÏóÖÐÊÇMove¿ìЩ

MoveÔõô¸Ä±ä´óС£¿move¸Ä±äµÄÊÇleft ºÍtop

MoveÊDz»Äܸıä´óСµÄ£¬Ö»ÄܸıäλÖá£

move±ÈÖ±½Óµ÷ÕûÊôÐÔÒª¿ì.

Õª×ÔMSDN

Move ·½·¨
     

ÓÃÒÔÒÆ¶¯ MDIForm¡¢Form »ò¿Ø¼þ¡£²»Ö§³ÖÃüÃû²ÎÊý¡£

Óï·¨

object.Move left, top, width, height

Move ·½·¨µÄÓï·¨°üº¬ÏÂÁв¿·Ö£º

²¿·Ö ÃèÊö
object ¿ÉÑ¡µÄ¡£Ò»¸ö¶ÔÏó±í´ïʽ£¬ÆäֵΪ¡°Ó¦ÓÃÓÚ¡±ÁбíÖеÄÒ»¸ö¶ÔÏó¡£Èç¹ûÊ¡ÂÔ object£¬´øÓн¹µãµÄ´°ÌåȱʡΪ object¡£
left ±ØÐèµÄ¡£µ¥¾«¶ÈÖµ£¬Ö¸Ê¾ object ×ó±ßµÄË®Æ½×ø±ê (x-Öá)¡£
top ¿ÉÑ¡µÄ¡£µ¥¾«¶ÈÖµ£¬Ö¸Ê¾ object ¶¥±ßµÄ´¹Ö±×ø±ê (y-Öá)¡£ 
width ¿ÉÑ¡µÄ¡£µ¥¾«¶ÈÖµ£¬Ö¸Ê¾ object еĿí¶È¡£
height ¿ÉÑ¡µÄ¡£µ¥¾«¶ÈÖµ£¬Ö¸Ê¾ object еĸ߶ȡ£


˵Ã÷

Ö»ÓÐ left ²ÎÊýÊDZØÐëµÄ¡£µ«ÊÇ£¬ÒªÖ¸¶¨ÈÎºÎÆäËüµÄ²ÎÊý£¬±ØÐëÏÈÖ¸¶¨³öÏÖÔÚÓï·¨ÖиòÎÊýÇ°ÃæµÄÈ«²¿²ÎÊý¡£ÀýÈ磬Èç¹û²»ÏÈÖ¸¶¨ left ºÍ top ²ÎÊý£¬ÔòÎÞ·¨Ö¸¶¨ width ²ÎÊý¡£ÈκÎûÓÐÖ¸¶¨µÄβ²¿µÄ²ÎÊýÔò±£³Ö²»±ä¡£

¶ÔÓÚ Frame ¿Ø¼þÖеĴ°ÌåºÍ¿Ø¼þ£¬×ø±êϵͳ×ÜÊÇÓÃç¾ ¡£Òƶ¯ÆÁÄ»ÉϵĴ°Ìå»òÒÆ¶¯ Frame ÖеĿؼþ×ÜÊÇÏà¶ÔÓÚ×óÉϽǵÄÔ­µã (0,0)¡£Òƶ¯ Form ¶ÔÏó»ò PictureBox ÖеĿؼþ£¨»ò MDIForm ¶ÔÏóÖÐµÄ MDI ×Ó´°Ì壩ʱ£¬ÔòʹÓøÃÈÝÆ÷¶ÔÏóµÄ×ø±êϵͳ¡£×ø±êϵͳ»ò¶ÈÁ¿µ¥Î»ÊÇÔÚÉè¼ÆÊ± Óà ScaleMode


Ïà¹ØÎÊ´ð£º

vb´òÓ¡ÎÊÌâ

´ó¼ÒºÃ£¬Îʸövb´òÓ¡ÎÊÌâ


printer.print "dsff"
.....
....


Printer.EndDoc


´òÓ¡³É¹¦ºóÎÒ½«Ö´ÐÐ

sqlstr = "update vc_yh set pr=' ÒÑ´òÓ¡ ', ......

vb´ò°ü°²×°Ê±ÌáʾÊäÈëÐòÁкÅ

ÎÒÓÐ×Ô¶¯Éú³ÉÐòÁкŵijÌÐò£¬µ«ÊÇÔõô¸ú´ò°üºóµÄ°²×°³ÌÐò½áºÏÔÚÒ»Æð£¬ÔÚ°²×°Ê±ÌáʾÓû§ÊäÈëÐòÁкţ¬ÕýÈ·ºóÔÙ¼ÌÐø°²×°£¿£¿£¿
·½·¨1£ºÄã¿ÉÒÔÔÚÔËÐгÌÐòºóÊäÈëÐòÁкÅ×¢²á£¬ºÜ¶àÈí¼þ¶¼ÊÇÕâÑùµÄ¡£

·½·¨2£ºÊ¹ÓÃSetu ......

vbдµÄ³ÌÐò±àÒëºó,ÔËÐÐÈô³ö´í,ÈçºÎÖªµÀµ½ÔÚÄÄÒ»ÐÐ?

vbдµÄ³ÌÐò±àÒëºó,ÔËÐÐÈô³ö´í,ÈçºÎÖªµÀµ½ÔÚÄÄÒ»ÐÐ?

°´Ctrl+F5Ô¤±àÒ룬³ö´íʱ»áÌø×ªµ½´íÎóÐÐ

²»ÊÇÄÇÑùµÄÁË,ÎÒÊÇÒªÇó±àÒë³ÉEXEºóÔËÐÐ,Ìáʾ³ö´íÄÜ·ñÌáʾ´íÔÚÄÄÒ»ÐÐ.

ÎÒ±àÒëºóÔÚÎҵĵçÄÔÉÏÔËÐÐûÎÊÌâ,µ«Ô ......

VB ×Ö·ûÎÊÌâ

  TF1.text = " <_2_ZCHGZBH> " & MSFlexGrid1.TextMatrix(k, 1) & " </_2_ZCHGZBH> "
   

´ó¼ÒºÃ£¬ÎÒÓÃÉÏÃæÒ»¸ö¶«Î÷¸³Öµ  TF1.text = & ......

²ËÄñѧVB£¬

²ËÄñѧVB,¸÷λ´óÏÀÄܰïÖúÎÒô£¬ÎÒµÄQQÊÇ544508194£¬mail.  huguyue619@163.com
¿ÒÇë¸÷λ´óÏÀ¼ÓÎÒ£¬Ö¸µãСµÜÒ»¶þ
Çë¾­³£¹â¹Ë±¾ÂÛ̳,ÓÐÒÉÄÑÖÚ¶à¸ßÊÖ¶¼»á¾¡Á¦.

¶¯ÊÖʵ¼ùд´úÂë,¾­³£¹â¹Ë±¾ÂÛ̳ä¯ÀÀÓëѧϰ.
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ