Jump to content
Tom F

Removing arrows from TRzTrackBar thumb cursor

Recommended Posts

Does anyone know how to disable the Raize TRzTrackBar from showing the two little triangles when the mouse is over the thumb?

The green arrow in the attached image points to the triangles.

 

IMG_0752.JPG

Share this post


Link to post

add this to your unit or add it to a unit which you include everywhere after "RzTrkBar" in the uses list.

 

interface
type
  TRzTrackBar = class(RzTrkBar.TRzTrackBar)
  private
    procedure WMSetCursor(var Msg: TWMSetCursor); message wm_SetCursor;
  end;

implementation

procedure TRzTrackBar.WMSetCursor(var Msg: TWMSetCursor);
begin
end;

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×