WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Functions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Buttonnames() function: What it really changes

Keywords: Buttonnames button ok cancel 

Question:

What buttons can the ButtonNames() function rename is a WinBatch script? Which ones cannot be renamed? How about the ButtonNames() function. Can this function be used to remove buttons (not rename)!

Answer:

The ButtonNames function can merely change the names of a few buttons in WinBatch. This function was added so that the hard-coded button names in WinBatch could be altered - mostly for foreign language support.

ButtonNames can change the names of the buttons in the AskLine, AskFileText, AskItemList, AskPassword, TextBox, and TextSelect functions - as these have "hard coded" button names. The Message, AskYesNo, Pause functions use default system names for the buttons - the button titles are provided by the operating system. You have already to specify the names you want in the Dialog function.

The Buttonnames() function changes the name of buttons which appear in WIL dialogs. It doesn't change the name in all functions which display buttons. The only supported functions where you can change the button names are:


Article ID:   W13044
Filename:   Buttonnames function.txt
File Created: 1999:04:15:16:51:22
Last Updated: 1999:04:15:16:51:22