Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The MultiInternet Multi Internet control allows to display contents of different URLs depending on a given server item.

From the Object catalog drag and drop the element on the empty page. The MultiInternet Multi Internet box is adjustable to fit user needs. 

A double-click on the MultiInternet Multi Internet control will show the MultiInternet Multi Internet properties dialog. In the Object tab a numerical ItemID should be chosen. For this tutorial a server item of type INT32 is used: NETx\VAR\Numeric\Item1.

...

Then, moving to the URLs / conditions tab where the URLs are defined. For each index from 1 to 10 a URL and a condition can be defined. If a condition is met then the contents of the corresponding URL will be displayed, otherwise the next condition is tested.

Following options are availble available to set up the condition for a URL:

...

  • If the value of NETx\VAR\Numeric\Item1 is 0 then URL1 is used (https://www.yahoo.com/).
  • If the value of NETx\VAR\Numeric\Item1 is 1 then URL2 is used (https://www.amazon.com/).
  • If the item quality of NETx\VAR\Numeric\Item1 is GOOD and the none of the prior conditions is met then URL2 is used  (https://www.microsoft.com).
  • If the item quality of NETx\VAR\Numeric\Item1 is not GOOD then URL3 is used (....).


  


Apply the changes and press Ok.

To test and operate the MultiInternet Multi Internet control a setup as described in Using controls to increase or decrease a server item can be used.

See also the MultiInternt Multi Picture control to work with images instead of web contents.