- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2014-8-21 20:44 ½s¿è
¦^´_ 3# acdx - Private Sub OptionButton11_Click()
- Dim p As Control, i As Integer, ii As Integer
- With MultiPage2
- Set p = .Pages(.Value).Controls(0) 'MultiPageª«¥ó*************
- '**************************************************************
- '¦p MultiPage2.Value=3
- 'MultiPage2ªºPage(3)["Others"]¤¤MultiPage3¥u¦³¤@ÓPage(User-Defined)
- '**************************************************************
- End With
- i = -1
- With Frame5 '¦³5ÓOptionButton **************
- For ii = 0 To .Controls.Count - 1
- If .Controls(ii).Value Then i = ii: Exit For
- '***************************************
- 'Frame5 ²Ä5ÓOptionButton.Value=True i = 4
- '¨S¦³.Value=True ®É i = -1
- '***************************************
- Next
- End With
- With p 'MultiPageª«¥ó**************************
- For ii = 0 To .Pages.Count - 1
- .Pages(ii).Enabled = (i = ii)
- Next
- If .Pages.Count - 1 >= i Then .Value = i '¦¹¦æªº¥Î³~¬°¦ó?
- '***************************************************
- '¦p MultiPage2.Value=3 ¥B i = 4 ©Î i = -1
- '¨S¦³If .Pages.Count - 1 >= i ªº¨î,.Value = i ·|¦³¿ù»~²£¥Í.
- '***************************************************
- End With
- End Sub
½Æ»s¥N½X ¨Ï¥ÎClass ª«¥óÃþ§O¼Ò²Õ,ªí³æ¤¤OptionButton±±¨î¶µªº¦WºÙ¦³×§ï.
Ex.rar (26.64 KB)
|
|