ctrlSetTextSelection

From Bohemia Interactive Community
Revision as of 13:39, 17 April 2020 by killzone_kid (talk | contribs)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.99|1.99]]
Hover & click on the images for description

Description

Description:
Selects 'length' characters of edit control from the 'start' position and places cursor at the end of selection. To move cursor only, set 'length' to 0.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlSetTextSelection [start, length]
Parameters:
control: Control
[start, length]: Array
start: Number - selection start position
length: Number - length of characters to select (0 to only move the cursor)
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetTextSelection [5, 10]

Additional Information

See also:
ctrlTextSelection

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

[[Category:Introduced with arma3dev version 1.99]][[ Category: arma3dev: New Scripting Commands | CTRLSETTEXTSELECTION]][[ Category: arma3dev: Scripting Commands | CTRLSETTEXTSELECTION]]

Notes

Bottom Section