0
votes

The default grip on the firemonkey splitter is a circle. Is there anyway to redraw the grip to something else? Styles don't seem to have any affect other than changing the color scheme. I tried intercepting OnPaint but that only seems to allow one to redraw the background.

If the grip can't be changed is there an alternative third-party firemonkey splitter that anyone is aware of?

2

2 Answers

0
votes

The entire area of the splitter control responds to mouse events. That is the image of the grip has no special significance when moving the splitter via the mouse. Therefore use the OnPaint event to redraw the entire splitter control and include any necessary decoration that represents the grip.

0
votes

XE12: drag&drop a rectangle to another control on your form that allow the rectangle as a sub control. (not directly that wont work!) after that move it the splitter (that works well) with client align and modify the rectange as you like and at least set HitTest=false on rectangle.