I have a Maskbox with mask [A-Za-z][A-Za-z]. I noticed that the IDE does
not show the MaxLength property. I want the user to be able to enter
lower case & have the entry displayed as upper case for either of the 2
characters. When I run the attached Test app, it only seems to allow the
entry of 1 characted. When 'a' followed by 'd' is entered, the Maskbox
displays D and the Console shows from the Print statements carried out
by code conversion of lower case to uppercase:
SteckerMaskBox.MaxLength=0
SteckerMaskBox.Length=1
SteckerMaskBox.Text=a
SteckerMaskBox.Mask=[A-Za-z][A-Za-z]
Length=1
SteckerMaskBox.MaxLength=0
SteckerMaskBox.Length=1
SteckerMaskBox.Text=d
SteckerMaskBox.Mask=[A-Za-z][A-Za-z]
Length=1

What is the solution to allow a 2 character entry?

PS I'm using Gambas Stable Builds ppa with gambas version showing as
3.7.90 though Gambas IDE Title bar shows DEVELOPMENT VERSION - USE AT
YOUR OWN RISK. Could this 'Stable' ppa contain a jinxed Gambas version?

-- 

John



Attachment: Test.tar.gz
Description: application/gzip

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to