ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The StartControl property gets and sets the source control of a Wire control.
Example
// Create and initialize a Wire control
// This wire links the BTN_ControlA and BTN_ControlB controls
WireName is Control
WireName <- ControlCreate("", typWire)
WireName.StartControl = BTN_ControlA
WireName.EndControl = BTN_ControlB
Syntax

Getting the source control of a Wire control Hide the details

<Result> = <Control used>.StartControl
<Result>: Character string
Name of the source control.
<Control used>: Control name
Name of the Wire control.

Setting the source control of a Wire control Hide the details

<Control used>.StartControl = <New source control>
<Control used>: Control name
Name of the Wire control.
<New source control>: Character string
Name of the new source control.
Remarks
Minimum version required
  • Version 21
This page is also available for…
Comments
Video Startcontrol
https://youtu.be/iMV7KM7DkuI

https://windevdesenvolvimento.blogspot.com/2019/06/dicas-2139-windev-webdev-mobile.html

// btn_ligar
WIRENOME is Control
WIRENOME <- ControlCreate("",typWire)
WIRENOME..StartControl=BTN_BOTAO_A
WIRENOME..EndControl=BTN_BOTAO_B

amarildo
04 Jun. 2019

Last update: 09/20/2024

Send a report | Local help