PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds a clickable link in a graphic string. This allows you to add a link into the caption of a control or into an information message.
Example
Info(StringBuild("Your order #%1 was saved.", ...
Order.OrderNum), ...
gClickableLink("Click here to display the details of the order.", ...
pDisplayOrderDetails, Order.OrderNum, gclDefault))
 
INTERNAL PROCÉDURE pDisplayOrderDetails(nOrderNum is int)
Open(WIN_OrderDetails, nOrderNum)
END
Syntax
<Result> = gClickableLink(<Text> , <WLanguage procedure> [, <Procedure parameter> [, <Option>]])
<Result>: Character string
Value of the link. This value can be concatenated to another string.
<Text>: Character string
Text to display in the link.
<WLanguage procedure>: Procedure name
Name of the WLanguage procedure ("callback") called when the link is clicked.
<Procedure parameter>: Expected type (optional)
Value of the parameter that will be passed to the procedure.
<Option>: Optional integer constant
Style of the text displayed in the link:
gclDefault
(Default value)
The text of the link is underlined and it is colored in blue. The rollover cursor is shaped like a hand.
gclNoFontModifThe text of the link is displayed in the initial style
Remarks
gClickableLink can be used with the following controls:
  • Static
    Caution: the link is visible for the "Multiline text" statics only.
  • Button
  • Edit control
    Caution: the link is visible only if the control is not in edit.
  • Element of a List Box control
  • Caption of a List Box control
  • WINDEV Element of a Combo Box control
  • WINDEV Caption of a Combo Box control
  • Option of Radio Button control
  • Caption of a Radio Button control
  • Option of Check Box control
  • Caption of a Check Box control
  • WINDEV Caption of a Table control
  • WINDEV Caption of a Looper control
  • WINDEV Cell of a Table control
Component: wd270obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment