Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

適用對象

BoundObjectFrame 物件

Image 物件

OptionButton 物件

Section 物件

CheckBox 物件

Label 物件

OptionGroup 物件

SubForm 物件

ComboBox 物件

Line 物件

Page 物件

TabControl 集合物件

CommandButton 物件

ListBox 物件

PageBreak 物件

TextBox 物件

CustomControl 物件

ObjectFrame 物件

Rectangle 物件

ToggleButton 物件

您可以使用 EventProcPrefix 屬性來取得事件程序名稱的前置詞部分。 讀/寫字串

expression.EventProcPrefix

運算式 必要。 傳回 [套用至] 清單中其中一個對象的表達式。

備註

例如,如果您有一個事件程序名稱為 Details_Click 的命令按鈕,則 EventProcPrefix 會傳回字串 "Details"。

EventProcPrefix 屬性設定是一個字串運算式。

只有在使用巨集或 Visual Basic for Applications (VBA) 程式碼時才能使用此屬性,且此屬性在所有檢視中都是唯讀。

Microsoft Office Access 2007 使用底線字元 (_) 將事件程序名稱的前置詞部分新增到事件名稱。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×