The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



URL


Unit:SDL_urllab
Class:TUrlLab
Declaration:property URL: string;

The property URL specifies the target URL which should be displayed or invoked when the user clicks the label. The URL property may contain either a standard Web address (e.g. 'http://www.lohninger.com/'), or the full path of a local executable (e.g. 'D:\testprogs\myprog.exe'). If the URL property is empty, no action occurs.

If the URL property is not empty but is neither a Web address nor a valid path to an executable an exception ('invalid URL') is raised. If the URL is a Web address then the default Web browser is started displaying the specified URL. If a valid path to an executable is specified, this executable will be started.

Hint: If you need to pass parameters to the executable specified by URL, these parameters have to be specified using the property TaskParams.



Last Update: 2023-Dec-13