ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object functions
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
HsMenu,Mark (External language)
In french: HsMenu,Marquage
Finds out whether a menu option is marked or not.
Example
// In C
// Is the option corresponding to the LC path marked?
CALLWD("HsMenu,Mark,LC");
if WDInt==1 CALLWD("INFO, The option is marked");
// Is the option #15 marked?
CALLWD("HsMenu,Mark,15");
if WDInt==0 CALLWD("INFO, The option is not marked");
// In Pascal
(* Is the option corresponding to the LC path marked? *)
CALLWD('HsMenu,Mark,LC');
if WDInt=1 then CALLWD('INFO, The option est marked');
(* Is the option #15 marked? *)
CALLWD('HsMenu,Mark,15');
if WDInt=0 then CALLWD('INFO, The option is not marked');
// In VB
' Is the option corresponding to the LC path marked?
call CALLWD("HsMenu,Mark,LC")
if WDInt=1 then  
call CALLWD("INFO, The option is marked")
end if
' Is the option #15 marked?
call CALLWD("HsMenu,Mark,15")
if WDInt=0 then  
call CALLWD("INFO, The option is not marked")
end if
Syntax
HsMenu,Mark(<Option>)
<Option>: Character string
This parameter can be:
  • a number that corresponds to the subscript of the option,
  • a character string that corresponds to the access path of the option (shortcuts)
Remarks
HsMenu,Mark returns the status of the option marks in WdInt:
  • 0 if the option is not marked
  • 1 if the option is marked
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 04/06/2023

Send a report | Local help