ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Action Bar 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
Allows you to get and change the visibility status of the search control associated with the Action Bar in the current window.
Example
ActionBarSearchVisible(True)
Syntax

Modifying the visibility status of the search control associated with the Action Bar Hide the details

ActionBarSearchVisible(<Visible> [, <Indication>])
<Visible>: Boolean
  • True if the search control must become visible.
  • False if the search control must become invisible.
<Indication>: Optional character string
Indication text that will be displayed in the search control.

Finding out the visibility status of the search control associated with the Action Bar Hide the details

<Result> = ActionBarSearchVisible()
<Result>: Boolean
  • True if the search control is visible,
  • False otherwise.
Remarks
  • An auto completion of search history will also be displayed according to the options of the Action Bar control.
  • This function applies to the current window (which means the active window during the call).
  • For this function to be applied, the current window must have an Action Bar control where the option "Allow the search in the Action Bar" checked. Otherwise, a fatal error will occur. For more details, see Describing the Action Bar control.
Component: wd290android.aar
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help