![]() |
text box length
Hello.
I have a question for you. Is there a way, programming forms with Outlook 2002, to get a text box length? I mean, the number of characters in it? Thank you in advance. Alessandro |
text box length
Once you have a handle to the control or any associated Outlook property you
can get the value or text property of the textbox and use the Len() function to get the length of the control contents. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Alessandro" wrote in message ... Hello. I have a question for you. Is there a way, programming forms with Outlook 2002, to get a text box length? I mean, the number of characters in it? Thank you in advance. Alessandro |
text box length
Thank you Ken, this is what I was looking for.
I was trying with a Length property... Another question: what I am doing is this. I have a text box where I write a text. When I leave the text box and go in another field, there is a PropertyChange event that write in another text box the length of the first one. The question is: is possible to update the second text box directly when writing in the first one? Without leaving the field? "Ken Slovak - [MVP - Outlook]" wrote: Once you have a handle to the control or any associated Outlook property you can get the value or text property of the textbox and use the Len() function to get the length of the control contents. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Alessandro" wrote in message ... Hello. I have a question for you. Is there a way, programming forms with Outlook 2002, to get a text box length? I mean, the number of characters in it? Thank you in advance. Alessandro . |
text box length
The property won't change until the field is exited. So that event won't
fire until then. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Alessandro" wrote in message ... Thank you Ken, this is what I was looking for. I was trying with a Length property... Another question: what I am doing is this. I have a text box where I write a text. When I leave the text box and go in another field, there is a PropertyChange event that write in another text box the length of the first one. The question is: is possible to update the second text box directly when writing in the first one? Without leaving the field? |
All times are GMT +1. The time now is 05:20 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com