Re: [Iup-users] IupText MULTILINE and SCROLLBAR attributes (IUP 3.5, Windows 7)
Brought to you by:
scuri
From: Antonio S. <sc...@te...> - 2011-10-18 14:51:46
|
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...@gm...] 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. |