引用与控件的内置属性同名的自定义属性
假设某个新控件具有一个与 Microsoft 窗体中标准 Top 属性不同的 Top 属性。 根据语法使用任一属性:
此示例使用标准 Top 属性:
control.Top
此示例使用所添加控件中的 Top 属性:
control.Object.Top
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。
反馈
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:提交和查看相关反馈