Introduction to PowerBuilder

HomePrevious Lesson: RichTextEdit Control
Next Lesson: Drawing Objects

Hyperlink Controls

There was no integration between web browser and PowerBuilder till v6. V6.0 introduced some classes and methods where you can talk to the World Wide Web, pull the data and process it. V7.0 introduced two new window controls, StaticHyperLink and PictureHyperLink controls. The former control is exactly like the StaticText control with an additional property, URL (Uniform Resource Locater), in simple terms, a web page address. By default the text displays in blue color with underline. Clicking on the control invokes the default web browser on your computer and connects to the URL specified in the URL property. If you are using dial-up connection and are connected to the web, then the browser is going to prompt you depending on the browser settings.

Similarly, PictureHyperLink control is exactly same as Picture control and the behavior is same as StaticHyperLink control. The only difference is that you can only text for the StaticHyperLink control where as PictureHyperLink control displays a picture including .GIF or .JPG format file.
HomePrevious Lesson: RichTextEdit Control
Next Lesson: Drawing Objects