Difference between revisions of "RegisterControls"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
(Created page with "The RegisterControls module is used by all custom controls to handle the registration code. After purchasing a Custom control, a serial number attached to your name is generated...")
 
(Adding the registration code)
Line 23: Line 23:
  
 
[[File:Open-Event.png]]
 
[[File:Open-Event.png]]
 +
 +
 +
The App item now has an Open event handler in the Navigator:
 +
 +
[[File:App-OpenEvent.png]]
 +
 +
Now copy and paste the registration code you received by email

Revision as of 19:01, 20 March 2014

The RegisterControls module is used by all custom controls to handle the registration code.

After purchasing a Custom control, a serial number attached to your name is generated.

The following line of code is received by email:

Call RegisterControls.Register("John Smith", "XXXX-0000-XXXX-0000")

Adding the registration code

In the Xojo Navigator select the App element

App-Select.png


Then click on the "+" button to add a new code item, and select Event Handler

Add-EventHandler.png


Xojo now displays the Add Event Handler window. Select the Open event then click on OK

Open-Event.png


The App item now has an Open event handler in the Navigator:

App-OpenEvent.png

Now copy and paste the registration code you received by email