RibbonDropDown:通过键盘选择 (OutlookAddin)
RibbonDropDown: Selection via Keyboard (OutlookAddin)
我正在使用 Outlook-AddIn,其中有一个 RibbonDropDown,其中填充了列表中的条目。由于会有很多条目,我希望用户能够通过键入条目来 select/search 一个项目。到目前为止,只能通过输入第一个字母 'search'。
关于如何实现这一点有什么想法吗?我尝试了 ComboBox 但不知何故我失败了,因为我希望用户只被允许 select 可用条目并且我需要在之后获得 selected 标签,因为其他 buttons/DropDowns 将成为可用。
谢谢!
Office 功能区控件未实现此功能。在用户单击功能区按钮后,您可以使用自己的控件显示 window。
Fluent UI 提供了一组明确的控件,其中 none 提供了所需的功能。在以下系列文章中阅读有关 Fluent UI(又名 Ribbon UI)的更多信息:
- Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
- Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
- Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)
作为解决方法,您可以考虑添加一个 Outlook 窗体区域,您可以在其中实现您需要的所有功能。有关详细信息,请参阅 Creating Outlook Form Regions。
您可能会发现 Advanced Outlook view and form regions 有帮助。
我正在使用 Outlook-AddIn,其中有一个 RibbonDropDown,其中填充了列表中的条目。由于会有很多条目,我希望用户能够通过键入条目来 select/search 一个项目。到目前为止,只能通过输入第一个字母 'search'。
关于如何实现这一点有什么想法吗?我尝试了 ComboBox 但不知何故我失败了,因为我希望用户只被允许 select 可用条目并且我需要在之后获得 selected 标签,因为其他 buttons/DropDowns 将成为可用。
谢谢!
Office 功能区控件未实现此功能。在用户单击功能区按钮后,您可以使用自己的控件显示 window。
Fluent UI 提供了一组明确的控件,其中 none 提供了所需的功能。在以下系列文章中阅读有关 Fluent UI(又名 Ribbon UI)的更多信息:
- Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
- Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
- Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)
作为解决方法,您可以考虑添加一个 Outlook 窗体区域,您可以在其中实现您需要的所有功能。有关详细信息,请参阅 Creating Outlook Form Regions。
您可能会发现 Advanced Outlook view and form regions 有帮助。