Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Customizeable Toolbars Collapse All
Subject Author Date
Chris Anderson Apr 13, 2007 - 11:55 AM

Does Prof UIS provide a framework to easily manage customization of toolbars including adding new toolbars to an application on the fly?
Basically my application starts out with a fixed set of toolbars but users are allowed to customize existing toolbars or add new toolbars with their own set of commands using a Customize Toolbars Dialog. Some of the other toolkits like Stingray provide this feature. Any ideas how can I solve this problem?

Technical Support Apr 16, 2007 - 4:04 AM

Customizable toolbars and menus are fully supported in Prof-UIS and the following samples demonstrate this feature:DRAWCLI, Pluggable, BitmapEditor and StyleEditor. Besides, we provide an extension library (ProfAuto) which implements a set of wrapper COM objects for customizable toolbars and menus. The ProfAuto library allows the toolbars and menus to be accessed, modified and constructed for automation-enabled languages such as JavaScript and VBScript from Microsoft’s Active Scripting included into Windows OS distribution, Visual Basic 6.0 and any .NET languages. There are two sample, ActiveScripts and SimpleScripting, that demonstrate how to access toolbars and menus from a script on the fly. The ActiveScripts sample allows you to run 4 VBScript sample script programs listed in the tab pages inside main view window. The SimpleScripting sample is designed as a simplest possible application with customizable toolbars and menus which allows you to edit and run VBScript code. It is possible to make the SimpleScripting sample application run JavaScript instead by un-commenting the //#define __USE_JSCRIPT_INSTEAD_OF_VB_SCRIPT line in the StdAfx.h file of this sample and re-building it. The ProfAuto library is a powerful tool for creating script/automation based plugin modules for your application and it is a bridge between configurable toolbars and menus in your application and managed .NET code if you are going to create mixed native/managed application(s).

There are two articles that can be helpful in regard to customizable toolbars and menus:

Prof-UIS Customization Subsystem
Scripting Support in Prof-UIS Applications.

Suhai Gyorgy Apr 15, 2007 - 4:06 AM

Check out this Feature Article: Prof-UIS Customization Subsystem