Changing the text in toolbar popmenu

 

horizontal rule

Back Home Next

Author Aart Onkenhout
Date 12-11-2000

 

You can change the text of items within the Toolbar popup menu. This is especially handsome when writing an application in another language than English.

 

All you have to do is set an application property, namely ToolbarPopMenuText in the Open event of your application, so for example:

 

// These are words from the Dutch language

ToolbarPopMenuText = '&Links,&Boven,&Rechts,&Onder,&Zwevend,Toon tekst,&Toon tips'
ToolbarFrameTitle = 'Standaard'

 

This results in:

 

 

 

When you don't want the user to be able to move the Toolbar set the Application property ToolbarUserControl to FALSE.