consider this
Procedure Tform1.TrackBar1Change(Sender:TObject);
Begin
With TrackBar1(Sender) do Position := Position+1;
End;
In an app where you need to move the slider one or more notches ahead or behind from where the user selected.
In this case the slider is on a automated trigger from remote IO and at least up to 10 at one time, it may change depending on the setup.
These sliders move always during operation and the user has the option of setting them back or ahead.
with each move the values are also written back to the controller and only the user values are wanted, the automated trigger does not execute this method block it only uses the Position property and only shows visual update on the screen..
I moved an app from D3 that works perfectly there, fails here and also it seems Current Delphi also fails in the same way.
without ugly looking hacked code, please tell me how to manage this? Also please don't consider using the TAG property because that is already in use, that is how I identify the controls with the remote controller. Currently it just sets the slider to max on a single click.
I have other controls that gets updated from the remote IO too, but we'll cross that bridge when we get there.