Diodia ToolbarCreator 1.3.01

What’s new in version 1.3.01?


1) New built-in commands

The framework offers three new built-in commands: Navigate, JavaScript and VBScript.

The Navigate command makes it a lot easier to add simple link buttons to a toolbar. It is no longer necessary to implement a new command for each button. Now all it takes is a single line in the XML configuration file.

The JavaScript and VBScript commands makes it possible to execute scripts on the current web page from the toolbar. Buttons performing simple tasks, such as auto-fill, can be implemented by simply specifying some script code in the toolbar configuration file.
 

2) Control parameters

The button, edit and combo-box controls now have an optional parameter. The parameter is specified in the toolbar configuration file and passed to the associated command when the command is executed. Parameters make it possible to reuse commands with slight variations. This may reduce the amount of coding required when implementing a toolbar.
 

3) Improved support for tabbing

The Tab key can now be used to move keyboard focus between different edit and combo-box controls in a toolbar.
 

4) Keyboard accelerator support

It is now possible to assign keyboard accelerators to buttons in a toolbar. The entity &amp; is used instead of the usual ampersand. For example, <button caption="&amp;Home.../> assigns the accelerator 'H' to the button. The accelerators are active when focus is in an edit or combo-box control in the toolbar.
 

5) Visual Studio 6 and 2003 desupported

Visual Studio 6 and 2003 are no longer supported. ToolbarCreator now creates Visual Studio 2005 workspaces only.
 

 

Interfaces

ControlI (changed)

The method SetParam(CString Param) has been added.

CommandI (changed)

A "CString Param" argument has been added to the methods DoExecute( ) and DoApply( ).

CommandContainerI (changed)

The return type of the method GetConfigurationUrl( ) has been changed from std::string to CString.

 

Classes

CommandC (changed)

The new methods Execute(CString Param) and Apply(CString Text, CString Param) have been added.

ContextC (changed)

The implementation of GetConfigurationUrl( ) now returns a CString instead of a std::string.

 

Functions

CreateComboBoxControl (changed)

It is now possible to specify a list of items to display in the drop-down list when creating a combo-box control.

 

Files

ToolBandLayout.xml (changed)

The sample toolbar configuration has been updated to illustrate new features in ToolbarCreator 1.3.01.

Commands.h (changed)

New commands have been added to illustrate new features in ToolbarCreator 1.3.01.

Commands.cpp (changed)

New commands have been implemented to illustrate new features in ToolbarCreator 1.3.01.

 

 

 

 

© 2002-2009 Diodia Software