PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 required version
  • Version 14
Comments
Click [Add] to post a comment