Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSPathControlMBS class.

NSPathControlMBS.DoubleClick

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Cocoa Controls MBS MacCocoa Plugin 12.0 ✅ Yes ❌ No ❌ No ❌ No
Called on a double click.

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
Implement this method to customize the Open panel shown by a pop-up–style path.

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
Implement this method to customize the menu of a pop-up–style path.

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.


The biggest plugin in space...