Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSPathControlMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 12.0 | ✅ Yes | ❌ No | ❌ No | ❌ No |
NSPathControlMBS.willDisplayOpenPanel(openPanel as Variant) New in 24.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 24.0 | ✅ Yes | ❌ No | ❌ No | ❌ No |
This method is called before the Open panel is shown but after its allowed file types are set to the cell's allowed types. At this time, you can further customize the Open panel as required. This method is called only when the style is set to NSPathStylePopUp. Implementation of this method is optional.
openPanel is a NSOpenPanelMBS object.
NSPathControlMBS.willPopUpMenu(menu as Variant) New in 24.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Cocoa Controls | MBS MacCocoa Plugin | 24.0 | ✅ Yes | ❌ No | ❌ No | ❌ No |
This event is called before the pop-up menu is shown. At this time, you can further customize the menu as required, adding and removing items. This method is called only when the style is set to NSPathStylePopUp. Implementation of this method is optional.
Menu is a NSMenuMBS object.
The items on this page are in the following plugins: MBS MacCocoa Plugin.