Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Intro....

Testing the control with navigation buttons

To test the MultiInternet control we create controls to show the current value of the used server item and controls to modify this value.

A simple implementation would be by adding two different buttons one to navigate Up and one to navigate Down, and a "Text-box" in between to shows the current "ItemID".

Create the navigation buttons from the "Libraries" section in the object catalog. In the library there is a large variety of NETx Styles to choose from.

 

Assigning the buttons to navigate through the MultiInternet control.

First the "Up-Button", assigning can be done by double-clicking the button, and on "Object" tab, function is Standard button, Confirmation type is none, Operation mode should be "+Value" (to increase the value of the server item connected to the MultiInternet control), Step increased by 1 and the max. value "2" beside on URLs count - 1 (Index starts at 0). After that in Server Items in the Description the First Undefined filed can be assigned to the URLs Item ID (Numeric - Variable 1). Also Send and Recive should be checked.

  • +Value will increase the Value with the Defined "Step" amount. 
  • -Value will decrease the Value with the Defined "Step" amount. 

The following figures show the configuration.

Same thing should be done with the "Down-Button", but the Operation mode should be "-Value" and the Min. value is "0". 

Current ItemID

Viewing the current Item ID of MultiInternet control can be done by adding "Text-Box" , after that Double-Clike on the "Text-Box". in the "Text-Box" dialog and in the "Object" tab, Function is Indicator and the Item ID is Variable 1.

The following figure shows the configuration.

When all has been done is correct, the project should be ready to Start.

 

  • No labels