Setting the maximum chars in a textbox


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Yeah, they are well tested and long-awaited controls. The DateBox is a superb date entry control and is light-years better than the DateTimePicker that comes with .NET. Enhancements will most likely ensue, but we have been using it for a year now and it supports globalization values, etc. The ListView control coming out will continue to grow as we are still writing it (I am adding group functionality today), but it has features that the standard ListView never will. So lots of fun things are going to start being released! BigGrin
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Trent,



Those are really great news. Tongue

Edhy Rijo

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
We've gone ahead and added some new controls (DateBox, Calendar Control, and ExtendedCalenderManager) as well as several new beta controls that we are using in our medical application but will not be "officially" released until 1.7.1. That is what the hold-up has been as well as trying to get a number of requested enhancements in (including this one). So we are basically down to the docs which will require a little effort. So the goal is within the next two weeks.
Aaron Young
Aaron Young
StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Nice Smile



Any idea on when the 1.7 build will be released?



Aaron
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Actually, in the upcoming 1.7 build, this has been added the the SF textbox. There is a property called AutoAdjustMaxLength on the textbox that will do this for you when using SF data binding.



But for reference purposes, you can do this on a BO:



Dim maxLength As Integer = MyBO.FieldLengths("MyFieldName")




or in C#



int maxLength = MyBO.FieldLengths["MyFieldName"];

Aaron Young
Aaron Young
StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Hi,



Is there an easy way of setting the maximum number of characters allowed in a text box based on the field length? I know I can set this manually by using the textbox MaxLength field but it is a little bit of a chore and I am lazy Smile



Has anyone come up with a way of doing this automatically?



Thanks in advance,



Aaron



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search