Hi Muhammad,

 

  The OVERWRITE attribute is a state flag for keyboard input. If it is on,
when the user enters a character it will replace the character right after
the CARET.

 

  To be used, a few other attributes are necessary: FORMATTING=YES and
MULTILINE=Yes. That you are already using.

 

  But since it is a keyboard state flag it is highly dependent on the system
state. 

 

  I made a few tests here in a dialog that is already displayed and it
worked.

 

Best Regards,

Antonio Scuri

 

From: Muhammad Asif Hussain [mailto:[email protected]] 
Sent: segunda-feira, 26 de novembro de 2012 10:34
To: [email protected]
Subject: [Iup-users] iup_text attribute OVERWRITE purpose.

 


Hi All,

I was just trying iup multiline example and was unable to find what effect
"OVERWRITE" attribute has on the text, the code is shown below:

ml = iup.multiline{
FORMATTING = "YES",
expand="YES", 
border = "YES",
BGCOLOR = "255 255 100",
FGCOLOR = "0 255 255",
OVERWRITE = "ON",
APPENDNEWLINE = "YES",
}

Nothing seem to happen by changing OVERWRITE value to ON or OFF. What
purpose it serves in iup text/multiline?



Thanks & Regards,
Muhammad Asif Hussain
Email Address: [email protected]
_______________________________________________________



 

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to