BIS fnc toUpperDisplayTexts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "^ \{\{(Command|Function)" to "{{$1")
m (Text replacement - " *\|= * " to " ")
Line 33: Line 33:
| |RETURNVALUE=
| |RETURNVALUE=


|x1= <code></code> |=
|x1= <code></code>


| |SEEALSO=
| |SEEALSO=

Revision as of 22:41, 17 January 2021

Hover & click on the images for description

Description

Description:
/*

	Description:
		* Converts text of selected classes in one display to upper-case.
		* Searches inside Controls class of the display. Looks inside RscControlsGroup as well.
		* Doesn't toUpper class with name "PlayersName" (TODO - Maybe make it parameter as well).

	Parameter(s):
		0: STRING - Class name of the display (e. g. "RscDisplayOptionsAudio").
		1: ARRAY OF STRINGS - Class names of parents of controls you want to toUpper (e. g. ["RscText", "RscTitle"]).
		2 (Optional): ARRAY OF STRINGS - Class names of controls you don't want toUpper (e. g. ["CA_VehicleAuthor"] - suitable for toUppering all RscTexts except CA_VehicleAuthor).

	Returns:
	NOTHING
*/



(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
GUI

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

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

Bottom Section