Table of contents
TOC
折叠目录
展开目录

NavigationControl.EventProcPrefix 属性 (访问)NavigationControl.EventProcPrefix Property (Access)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

获取或设置事件过程名称的前缀部分。读/写,字符串Gets or sets the prefix portion of an event procedure name. Read/write String.

语法Syntax

表达式EventProcPrefixexpression. EventProcPrefix

表达式_一个表示NavigationControl对象的变量。_expression A variable that represents a NavigationControl object.

注解Remarks

例如,如果您有一个名为 Details_Click 的事件过程的命令按钮, EventProcPrefix属性返回字符串"详细信息"。For example, if you have a command button with an event procedure named Details_Click, the EventProcPrefix property returns the string "Details".

Microsoft Access 会将事件过程名称的前缀部分添加到带下划线字符 () 的事件名称中。Microsoft Access adds the prefix portion of an event procedure name to the event name with an underscore character ().

另请参阅See also

概念Concepts

NavigationControl 对象NavigationControl Object

© 2018 Microsoft