Your problem is really difficult to solve, if you use standard data collection windows like MUI or XPUI, if you use Modern UI (MUI), then the following code can help you copy the functions you need (in the case of XPUI this does not work at all)
WARNING : I did NOT check the following procedures (just compiled) because I am currently using XPUI and I am deprecated from MUI in my installer, moreover, I provided without logic to enable the Next button again in the OnChange_Service function.
, , , .
,
( , LogicLib)