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:
- AskLine
- AskFileText
- AskItemList
- AskPassword
Article ID: W13044Filename: Buttonnames function.txt