ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Graphic string functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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("Votre commande N° %1 a été enregistrée.", Commande.NumCommande), ...
	gClickableLink("Cliquez ici pour afficher le détail de la commande.", ...
	pAfficheDétailCommande, Commande.NumCommande, gclDefault))

	INTERNAL PROCEDURE pAfficheDétailCommande(nNumCommande is int)
		Open(FEN_DetailCommande, nNumCommande)
	END
Syntax
<Result> = gClickableLink(<Text> , <WLanguage procedure> [, <Procedure parameter> [, <Option>]])
<Result>: Character string
Link value. 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 to 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
    Please note: the link is only visible for "Multiline text" labels.
  • Button
  • Edit control
    Please note: the link is only visible if the field is not being edited.
  • Element of a List Box control
  • Caption of a List Box control
  • Option of a Radio Button control
  • Caption of a Radio Button control
  • Option of a Check Box control
  • Caption of a Check Box control
Component: wd300obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help