ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
Selected is used to:
  • WEBDEV - Server codePHP Select, or determine if a tab menu option is selected.
Example
WEBDEV - Server codePHP
// Modifies the selected menu option
OPT_MobileOption.Selected = True
Syntax
WEBDEV - Server codePHPAjax

Determining if a WEBDEV menu option is selected Hide the details

<Result> = <Option used>.Selected
<Result>: Boolean
  • True if the option is selected,
  • False otherwise.
<Option used>: Option name
Name of the menu option to use.
WEBDEV - Server codePHPAjax

Selecting a WEBDEV menu option Hide the details

<Option used>.Selected = <Selection>
<Option used>: Option name
Name of the option to select.
<Selection>: Boolean
  • True if the option must be selected,
  • False otherwise.
Remarks
Minimum version required
  • Version 9
This page is also available for…
Comments
Pegar ID
Prezados

Para pegar um registro id de um browser table grid tem 2 formas:

Crie uma var global da janela:
GNID is 8-byte int = 0


A) Em Code evento
SELECT ROW

GNID = TableNameGrid.COL_myID



B) Em Code evento
SELECT ROW

Nx is int = Tableinfoxy(TableNameGrid, tiLineNumber, MouseXPos(), MouseYPos())

If nx > 0

GNID = TableNameGrid[nx].COL_myID

End
Boller
16 Apr. 2024

Last update: 07/08/2024

Send a report | Local help