Welcome Guest Search | Active Topics | Sign In | Register

MaskedEditSegment Setting The Properties Options
Steve
Posted: Wednesday, May 19, 2010 1:38:05 PM
Rank: Newbie
Groups: Member

Joined: 5/19/2010
Posts: 9
Is there a way to programmatically set the properties within the MaskedEditSegment.

Example:
MaskedEditSegment.MaxValue = 999
MaskedEditSegment.MinValue = 0
eo_support
Posted: Wednesday, May 19, 2010 1:40:37 PM
Rank: Administration
Groups: Administration

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

Yes. You will have to have the Segment declared (or dynamically created if the number of segments can change). Then do something like:

Code: C#
MaskedEdit1.Segments[0].MaxValue = 999;


Thanks
Steve
Posted: Wednesday, May 19, 2010 3:40:30 PM
Rank: Newbie
Groups: Member

Joined: 5/19/2010
Posts: 9
Thank you very much for responding so quickly. It worked !!
eo_support
Posted: Wednesday, May 19, 2010 4:04:12 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Great to hear that. Thanks for the update!


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.