Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
MenuItem.GetMixedStateImage
Returns the image used to depict a mixed state.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Menu | 4.1 | Yes | Yes | No | No | No |
MBS( "MenuItem.GetMixedStateImage"; item { ; ImageType; FileName } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| item | The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. |
$item | |
| ImageType | The type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG. |
"JPEG" | Optional |
| FileName | The filename to use for the picture. Default is "image" with the extension matching the image type. |
"test.jpg" | Optional |
Result
Returns image or error.
Description
Returns the image used to depict a mixed state.A mixed state is useful for indicating a mix of "off” and "on” attribute values in a group of selected objects, such as a selection of text containing boldface and plain (non-boldface) words. By default this is a horizontal line.
Please call GMImage.Release later to free memory for this image.
See also
- GMImage.Release
- MenuItem.CreateMenuItem
- MenuItem.CreateSeparator
- MenuItem.GetOffStateImage
- MenuItem.GetOnStateImage
- MenuItem.SetMixedStateImage
- MenuItem.SetOffStateImage
- MenuItem.SetOnStateImage
Created 18th August 2014, last changed 29th September 2020
MenuItem.GetKeyEquivalentModifierMask - MenuItem.GetOffStateImage
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins