AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de controles / Procedimiento WLanguage
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Otros
Procedimientos almacenados
WLanguage Procedure llamado por AddLink
Procedure ("Callback") llamada por AddLink.
Ejemplo
// == Global declarations of the window ==
arrLinkTarget is array of strings
// == Click on the Button control "Add a note" ==
LinkRank is int
Destination is string
 
// Asks for a note to associate with the link
IF Input("Enter a note associated with this link: ", Destination) = 1 THEN
 
// Stores the note in an array
LinkRank = Add(arrLinkTarget, Destination)
 
// Adds the link into the edit control
AddLink(EDT_Edit, EDT_Edit.Cursor, ...
EDT_Edit.CursorEnd, ClickOnLink, LinkRank)
END
// == ClickOnLink procedure ==
PROCEDURE ClickOnLink(LinkRank is int)
InfoBuild("The note associated with the %1 link is: %2", LinkRank, ...
arrLinkTarget[LinkRank])
Sintaxis
AddLink:Callback(<Procedure parameter>)
<Procedure parameter>: Variant
Parámetro que se pasa a la Procedure cuando se hace clic en el enlace. Este parámetro se ha especificado en la sintaxis de llamada de AddLink.
Ver también
Versión mínima requerida
  • Versión 15
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 23/02/2023

Señalar un error o enviar una sugerencia | Ayuda local