Clarion ProCodeBlock Documentation

Display Website URL

Display Website URL

Previous topic Next topic  

Display Website URL

Previous topic Next topic  

The ProCodeBlock class makes it easy to display a website URL (in the user's browser with ShellExecute).

 

You can do this by:

Using the #CODE template

Using hand code

 

 

Displaying a website URL with the #CODE Template

 

To display a website URL with the #CODE template, just insert the template in any embed point (such as the Accepted event of a button or menu selection)

 

clip0038

 

Then just enter the URL (without quotes) and click Ok.

 

That is all there is to it!

 

 

 

Displaying a website URL with hand code

 

To display a website URL with hand code, use the following syntax:

 

CodeBlockUtil.CodeBlockDisplayURL( 'www.clarionproseries.com' )

 

or this syntax:

 

CodeBlockUtil.URL = 'www.clarionproseries.com'

CodeBlockUtil.CodeBlockDisplayURL()