BIS fnc toUpperDisplayTexts: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
||
Line 18: | Line 18: | ||
|p3= blacklist: [[Array]] of [[String]]s - (Optional: Default []) Class names of controls you don't want to turn upper case (e. g. ["CA_VehicleAuthor"]) | |p3= blacklist: [[Array]] of [[String]]s - (Optional: Default []) Class names of controls you don't want to turn upper case (e. g. ["CA_VehicleAuthor"]) | ||
|x1= <code>["RscDisplayOptionsAudio", ["RscText"]] call | |x1= <code>["RscDisplayOptionsAudio", ["RscText"]] call BIS_fnc_toUpperDisplayTexts;</code> | ||
|seealso= [[BIS_fnc_displayName]] | |seealso= [[BIS_fnc_displayName]] | ||
}} | }} |
Revision as of 21:38, 12 July 2022
Description
- Description:
- Converts text of selected classes in one display to upper-case except classes with name PlayersName. Also searches inside CT_CONTROLS_GROUPs.
- Execution:
- call
- Groups:
- GUI
Syntax
- Syntax:
- [displayClass, controlClasses, blacklist] call BIS_fnc_toUpperDisplayTexts
- Parameters:
- displayClass: String - Class name of the display to manipulate
- controlClasses: Array of Strings - Class names of parents of controls you want to turn upper case (e. g. ["RscText", "RscTitle"])
- blacklist: Array of Strings - (Optional: Default []) Class names of controls you don't want to turn upper case (e. g. ["CA_VehicleAuthor"])
- Return Value:
- Nothing
Examples
- Example 1:
["RscDisplayOptionsAudio", ["RscText"]] call BIS_fnc_toUpperDisplayTexts;
Additional Information
- See also:
- BIS_fnc_displayName
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note