Activating a "Register" toolbar button

I created a toolbar button named “Register” and would want the Registration dialogbox to show when the button is clicked to enable users of my program to enter their registration details sent to them. I have not succeed in doing this. This is so even though I was able to create a toolbar that shows the About dialogbox when clicked.

Thanks for your anticipated positive response. Truly, HTML Executable is a great software for making ebooks.

Insert this code in your UserMain script:

procedure ShowRegScreen;
 if UpperCase(GetProperty("NoTrial", "false"))="TRUE" then

and associate your button to “UserMain.ShowRegScreen”