Knowledge Base 
Removing the CommandBar Gripper 
 Wednesday, August 10, 2022

Removing the CommandBar Gripper

By default, a commandbar will display a gripper that is used to indicate that the commandbar can be "gripped" and moved by the user. The gripper is cosmetic only, removing the gripper will not disable movement of the commandbar. To modify where the commandbar can be docked, if at all, you need to use the DockingFlags property discussed in the Specify where a CommandBar can be Docked article.

The HasGripper property specifies whether a commandbar has the gripper or not.

The code below removes the gripper from the menu bar and the Standard commandbar:

ThisForm.MainMenu.HasGripper = .F.
ThisForm.cmdBarStandard.HasGripper = .F.
The result is show below: