A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

text box length



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 22nd 10, 03:41 PM posted to microsoft.public.outlook.program_forms
Alessandro
external usenet poster
 
Posts: 2
Default 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
Ads
  #2  
Old March 23rd 10, 01:41 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


  #3  
Old March 24th 10, 09:11 AM posted to microsoft.public.outlook.program_forms
Alessandro
external usenet poster
 
Posts: 2
Default 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


.

  #4  
Old March 24th 10, 01:23 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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?


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
appoinment length ebrava Outlook - Calandaring 6 October 7th 09 01:36 PM
To know new message length Nagaraj Add-ins for Outlook 3 April 9th 09 06:46 PM
Message length shakey Outlook Express 4 April 27th 08 11:42 PM
How to validate character length Bruce Manley Outlook - Using Forms 1 May 16th 06 03:53 PM
OE cuts the length of e-mails text yuda Outlook Express 2 April 17th 06 10:42 AM


All times are GMT +1. The time now is 06:27 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-2025 Outlook Banter.
The comments are property of their posters.