Hi,
How do you show horizontal and vertical scrollbars in the textarea control? What, How, when and where do you set these properties?
Regards,
Meyrick Flanegan.
Hello Meyrick,
The general answer is that you should be able to control these options of the textarea control using CSS properties.
I noticed that setting CSS properties via CSS file does not seem to be used by the page.
Looking at the Appery.io forums, I found a reference to the Appery() object and setting the style attribute with "!important".
Here is a sample JavaScript code that you can use on the Load event of a page:
Progress("mobiletextarea_5").attr("style", "white-space: nowrap; resize: none; overflow-x: scroll; overflow-y: scroll; width: 300px; height: 200px !important");
I hope this helps.
Hello Meyrick,
The general answer is that you should be able to control these options of the textarea control using CSS properties.
I noticed that setting CSS properties via CSS file does not seem to be used by the page.
Looking at the Appery.io forums, I found a reference to the Appery() object and setting the style attribute with "!important".
Here is a sample JavaScript code that you can use on the Load event of a page:
Progress("mobiletextarea_5").attr("style", "white-space: nowrap; resize: none; overflow-x: scroll; overflow-y: scroll; width: 300px; height: 200px !important");
I hope this helps.
Meyrick Flanegan |
Developer - Managed Services |
Email: mflanegan@elcb.co.za |
|
ELCB Information Services (Pty) Ltd |
Customer Service Email elcb@elcb.co.za · www.elcb.co.za |
E A S T L O N D O N Tel: +27(43) 704 0700 Fax: +27(43) 704 0701 |
J O H A N N E S B U R G Tel: +27(11) 879 6179 Fax: +27(11) 454 0384 |
P O R T E L I Z A B E T H Tel: +27(41) 373 0529 Fax: +27(86) 650 0135 |
Hello Meyrick,
The general answer is that you should be able to control these options of the textarea control using CSS properties.
I noticed that setting CSS properties via CSS file does not seem to be used by the page.
Looking at the Appery.io forums, I found a reference to the Appery() object and setting the style attribute with "!important".
Here is a sample JavaScript code that you can use on the Load event of a page:
Progress("mobiletextarea_5").attr("style", "white-space: nowrap; resize: none; overflow-x: scroll; overflow-y: scroll; width: 300px; height: 200px !important");
I hope this helps.
Flag this post as spam/abuse.