Welcome Guest Search | Active Topics | Sign In | Register

Masked Edit Control Questions Options
AmerMRB
Posted: Monday, September 26, 2011 11:46:28 AM
Rank: Newbie
Groups: Member

Joined: 9/26/2011
Posts: 1
Hello!

I am trying to use a masked edit control, and was wondering the following things:

1) How do I have the masked edit control behave more like a text box? (i.e. I do not want the background of the masked edit control to have the blue selection when it has focus)

2) I currently have a mask with 30 alpha characters (Mask = "AAA...AA"), this is setting my string to a length of 30, even if the string only has a few characters (i.e. "12345" is still "12345 ", is there a simpler way for the control to just take given input or am I going to be forced to use the Trim() function on these 30 character strings?)


Thank you,

-MRB
eo_support
Posted: Monday, September 26, 2011 2:17:23 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Thanks for posting in the forum. As to your questions:

1. No. There is no way to do that;

2. That is correct. You have to use Trim() to trim out the spaces;

Please feel free to let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.