View Single Post
Old 07-27-2002, 11:54 AM   #2
Alshain
A Ghoul
 
Alshain's Avatar
 
Join Date: Jul 2002
Server: Tarrew Marr
Posts: 17
Default

It's not possible to add or remove buttons from any window. The code to support buttons is not in the XML files but in the program.

If you attempt to remove a button from a window the program gets upset when it can't find the button definition in the UI and won't load. The best you can do is hide the button by either 1) putting it 'behind' some other window element' or 2) moving it to outside the window border as long as the window can't be resized.

Adding a button definition to a window in the UI won't work. The code to support the button doesn't exist in the program. The button won't do anything.
__________________
Alshain - 60 Enchanter, Tarew Marr
Alshain is offline   Reply With Quote