• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. SWT CoolBars > Preventing the User from Rearranging the CoolBar

15.4. Preventing the User from Rearranging the CoolBar

Executing the CoolbarShellExample program demonstrates how the user can interact with the CoolBar. Each Button can be dragged and dropped into a new location on the CoolBar in any manner the user sees fit. The Button objects can also be resized by the user.

There are times when this functionality may not be desirable. In those situations, you must take steps to prevent the user from rearranging or resizing the CoolItems.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint