ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions / WLanguage procedure
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
WLanguage procedure called by AddLink
Procedure ("Callback") called by AddLink.
Example
// == Déclarations globales de la fenêtre == 
tabCibleLien is array of strings
// == Clic sur le champ Bouton "Ajouter une note" ==
RangLien is int
Destination is string

// Demande une note à associer au lien
IF Input("Saisissez une note associée à ce lien : ", Destination) = 1 THEN

	// Conserve la note dans un tableau
	RangLien = Add(tabCibleLien, Destination)

	// Ajoute le lien dans le champ de saisie
	AddLink(SAI_Saisie, SAI_Saisie.Curseur, ...
		SAI_Saisie.FinCurseur, ClicSurLien, RangLien)
END
// == Procédure ClicSurLien ==
PROCEDURE ClicSurLien(RangLien is int)
InfoBuild("La note associée au lien %1 est : %2", RangLien, ...
		tabCibleLien[RangLien])
Syntax
AddLink:Callback(<Procedure parameter>)
<Procedure parameter>: Variant
Parameter passed to the procedure when the link is clicked on. This parameter has been specified in the call syntax of AddLink.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help