The code below produces random values, correcting from the fifth interaction.
It works properly for Windows 7, but for Windows 10 it produces this strange behavior.
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
'MainForm.RootPane.LoadLayout("Layout1") 'Load the layout...