ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] [½Ð±Ð] Ãö©ó ¨â­ÓUserform ªº¤@¨Ç°ÝÃD

[µo°Ý] [½Ð±Ð] Ãö©ó ¨â­ÓUserform ªº¤@¨Ç°ÝÃD

²{¦³¡G
Userform1 (¤º¦³ Button ¡A¥BButton¬°°}¦C«ö¶s  gpbutton1(usx2, usy2))
Userform2


°ÝÃD¡G
·Q½Ð±Ð
¦p¦ó¦b Userform1«ö¤U Button®É¡A±NUserform2ªºCaption§ï¬° ButtonªºCaption???

·Q­nªºµ²ªG
Userform1°õ¦æ¡A«ö¤UBUTTON®É¡AUserform2¥X²{(¦¹®ÉUserform1¤£®ø¥¢)¦bUserform1ªº¥kÃä10³æ¦ìªº¦a¤è¡A¥BUserform2ªºCaption ¬° ButtonªºCaption???

¬O§_¦³¤èªkª½±µ¹ï·Ó ¤£¥Î¹w¥ý¸ü¤Jªº¤è¦¡??

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

¦^´_ 1# mark15jill


    ¸Õ¸Õ¬Ý
¬¡­¶Ã¯1.rar (15.85 KB)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 2# Hsieh


    ¤j¤jÁÂÁ¡A¤p§Ì¾Ç²ß¤F~

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¦^´_ 2# Hsieh


    ½Ð±Ð Hsiehª©¥D,
¦bµ{¦¡½X¤¤
  1. Private Sub Button_Click()
  2. With UserForm2
  3. .Show 0
  4. .Left = UserForm1.Left + UserForm1.Width + 10
  5. .Caption = Button.Caption
  6. End With
  7. End Sub
½Æ»s¥N½X
Show «á¤èªº 0 ¥Nªíªº¬O¤°»ò·N«ä©O?

TOP

¦^´_ 4# dino1978


    UserForm1.Show 0 ©Î UserForm1.Show vbModeless ¡¥±Nµ¡Åé³]¸m¬°µL¼Ò¦¡ª¬ºA

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¦^´_ 5# mark15jill

ÁÂÁ mark15jill ¤j¤jªº¦^ÂÐ

ÁA¸Ñ¤F!

TOP

¦^´_ 6# dino1978
Userform1.Show
¦Û­qªí³æ¹w³]ªºÅã¥Ü¼Ò¦¡¬O±j¨î¦^À³
¤]´N¬O»¡·íªí³æ¶}±Ò«á¡A¥u¯à¦bªí³æ¤W¾Þ§@¡AµLªk¦b¨ä¥Lªí³æ©Î¤u§@ªí¤W§@·~
Userform1.Show 0
´N¥iÃö³¬±j¨î¦^À³­­¨î¡AÅý§@·~½d³ò¥Ñ¨Ï¥ÎªÌ¦Û¦æ¾Þ§@
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 7# Hsieh

ÁÂÁÂHsiehª©¥Dªº»¡©ú, Åý¤p§Ì¹ïUserformªºÀ³¥Î§ó¤W¤@¼h  :)

TOP

        ÀR«ä¦Û¦b : ¥@¤W¦³¨â¥ó¨Æ¤£¯àµ¥¡G¤@¡B§µ¶¶ ¤G¡B¦æµ½¡C
ªð¦^¦Cªí ¤W¤@¥DÃD