AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de cadenas gráficas
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.
New in version 2024
iPhone/iPad This function is now available for iPhone/iPad applications.
Example
Info(StringBuild("Your order #%1 has been registered.", Order.OrderNum), ...
gClickableLink("Click here to see the order details.", ...
pDisplayOrderDetails, Order.OrderNum, gclDefault))

INTERNAL PROCEDURE pDisplayOrderDetails(nOrderNum is int)
Open(WIN_OrderDetails, nOrderNum)
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 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 a Radio Button control
  • Caption of a Radio Button control
  • Option of a 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: wd290obj.dll
Versión mínima requerida
  • Versión 21
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 28/02/2024

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