"Mark Stiles" <[EMAIL PROTECTED]> wrote:

<< I've looked through the documentation to see if you can remove the "X" 
button [from a buttonpad] but I didn't see anything. >>

To disable a Window's close function (the "X" in the upper right of a window) 
for any window (including a buttonpad), find the WindowID (using 
ButtonPadInfo in the case of buttonpads) and use the WindowID obtained in a 
Set Window command with the argument SysMenuClose OFF. For example, if the 
buttonpad name is MyButtonPad, then the command would be

  Set Window(ButtonPadInfo("MyButtonPad",BTNPAD_INFO_WINID)) SysMenuClose OFF

  Robert Edwards
  The MapTools Company

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to