There is something missing in the documentation. When the multiline
attribute is set, the scrollbar attribute is reset to YES. Since we cannot
guarantee the order the attributes will be set using the Lua constructor, it
seems that the scrollbar attribute is being replaced.
So, you can set the scrollbar attribute after that constructors using
dlg[1][1].scrollbar = No, or you can use the iup.multiline constructor to
create the control and do not set the multiline attribute.
Sorry for the inconvenience.
Best,
Scuri
From: Benoit Germain [mailto:bnt.germ...@gmail.com]
Sent: terça-feira, 18 de outubro de 2011 12:05
To: IUP discussion list
Subject: [Iup-users] IupText MULTILINE and SCROLLBAR attributes (IUP 3.5,
Windows 7)
Hello,
I am trying to create a dialog where I have a multiline text control without
scrollbars. To do so I set the SCROLLBAR attribute to "NO", but the text
control displays scrollbars anyway whenever its contents require it to.
Also, if AUTOHIDE is not set, the scrolling areas are always shown. In fact,
the attached script seems to show that the SCROLLBAR attribute is ignored,
since all text controls behave identically.
Is it something I am doing wrong?
Regards,
--
Benoit.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users