[Gambas-user] Maskbox mask & text entry

John Rose john.aaron.rose at ...626...
Thu Mar 19 18:29:48 CET 2015


On 18/03/15 11:30, John Rose wrote:
> 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
>
>
>
Gambas Stable Builds ppa has now updated Gambas version to 3.7 and
Gambas IDE Title bar no long shows DEVELOPMENT VERSION. However, this
Maskbox issue still present. I shall assume it's a bug and post it on
Gambas Issues unless I'm told different before tomorrow.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.tar.gz
Type: application/gzip
Size: 9337 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150319/2580e332/attachment.gz>


More information about the User mailing list