Touch Scrolling (Panning) in VCL.TTMSFNCBloxControl

We use the TTMSFNCBloxControl together with Delphi 11.3 and Delphi 12.x. We would like to use panning or scrolling with Touch, but only two-finger zoom is working. Is there any restriction or do you have an example that uses touch for zooming/panning with this control ?

Best regards,

Andreas

Touchscrolling is only enabled for mobile operating systems. For VCL, you need to use the mouse-wheel or scrollbars. We'll investigate the possibilities.

Hello Pieter,

Thank you for your quick response. This feature would be very important to us. It is a bit misleading, as InteractiveGestureOptions can be set to igPan. Perhaps you could activate the option in the component's “ReadOnly” - Mode?

We only need this feature for display purposes, so editing (e.g. moving of blocks or connecting of blocks) is not necessary for us.

Thank you in advance !

You can experiment with the following protected property access:

type
  T = class(TTMSFNCBloxControl);

procedure TForm1.FormCreate(Sender: TObject);
begin
  T(TMSFNCBloxControl1).TouchScrolling := True;
end;