Assigns links to controls in web panel forms. It can be used in combination with the Link function.
control. Link
Control.link = Exp
Where:
Control
Is the name of a control inserted in the form.
Exp
Is any valid URL (another web panel, an executable file, a static page, etc.). Parameters can be attributes, variables or constants and they are optional.
Generators: Java, .NET, .NET Core
Controls: Attribute/Variable, Image, Text Block
Suppose you have a text control in a web panel form and you want to assign a link to it so that when the user clicks on the text control another web panel is called. You should include the following line within event Start code:
ViewDescpTxt.Link = link(‘ViewDsc.exe’, &code)
in this example you are calling web panel “ViewDsc” and this will receive the code as parameter, therefore web panel ViewDsc must have the rule: parm(Code). Note that parameters are only input values.
Other examples of links:
ViewPage.Link = link(‘http://www.artech.com.uy/index.html’)
ViewProduct.Link = link(‘hViewPrd.exe’)
LinkTarget property
Link Function