* This article continues and extends the 'Creating a Component' article
Select the component screen
In the properties area, click New Custom Property

Style the property like this

Note that above we've checked 'Raise OnReset when value changes'.
Now, set the form OnReset like this
Set(RunningTotal, RunningTotalComponent.InputNumber); Reset(txtNumberToAdd);
Our form already has a Global Variable called RunningTotal, this will set it equal to the Input property
Also we clear txtNumberToAdd
Back in our calling Screen, add a TextInput so that the form looks like this

Set the properties like this. Note that I've renamed the Test Input

Change the form OnVisible to this
Reset(txtInput); Reset(RunningTotalComponent_1)
Test the form