Version 6.3.8 für Windows
 —  Extending Natural Studio with Plug-ins  —

INatAutoToolBars

This document covers the following topics:


Purpose

Collection of the available toolbars.

Top of page

Properties

The following properties are available:

Parent

Used to navigate to the parent interface of this interface.

Natural Data Format Variant Type Remark
HANDLE OF OBJECT VT_DISPATCH (INatAutoControlBars) Get only

Studio

Used to navigate to the root interface.

Natural Data Format Variant Type Remark
HANDLE OF OBJECT VT_DISPATCH (INatAutoStudio) Get only

Count

The number of available toolbars.

Natural Data Format Variant Type Remark
I4 VT_I4 Get only

Top of page

Methods

The following methods are available:

Add

Creates a new toolbar and adds it to the collection. Dynamically created toolbars are not persistently customizable in the Customize dialog.

Parameters

Name Natural Data Format Variant Type Remark
Return value HANDLE OF OBJECT VT_DISPATCH (INatAutoToolBar)  
Caption A VT_BSTR  
Visible L VT_BOOL Optional
Return value

The newly added toolbar.

Caption

A string used to identify the toolbar.

Visible

Decides if the toolbar is created visibel or not. By default, the toolbar is created visible.

Item

Returns a specific toolbar from the collection. Used to iterate through the collection.

Parameters

Name Natural Data Format Variant Type Remark
Return value HANDLE OF OBJECT VT_DISPATCH (INatAutoToolBar)  
Index

I4
A

VT_I4 VT_BSTR

 
Return value

The toolbar identified by the value specified in Index.

Index

Identifies a specific toolbar in the collection. This can be either the index of the toolbar in the collection (a value between 1 and Count) or the caption of the toolbar.

Top of page