Forum Discussion

suzanne_raine's avatar
suzanne_raine
Contributor
11 years ago

Does TextAreas not have a SetText method?

Hi,



I've got a TextBox, and a TextArea. 

The TextBox allows me to use the SetText method, but the TextArea does not. 



I checked the help files and they say I should be allowed a SetText method, but nothing is coming up in the intellisense. 



For now I'm using .Value = , or Keys() but I do still wonder...?



Any help? :)

1 Reply

  • Ravik's avatar
    Ravik
    Super Contributor




    Keys :- The Keys action sends keyboard input to the object, it is used to simulate keyboard stroke on the object, we can simulate 1- Alphabet, 2- Number, 3- Hot keys, 4- Function keys etc,

    Example- 



    here TestObj is nothing but your TextArea  (used object hierarchy)


           TestObj.Keys("[Up]")


           TestObj.Keys("Your Text")