Quote from
Gaev on January 7, 2021, 7:16 pm
@pauljonestindall
I did some experiments; it appears that the variable [TextEntry1] contains the correct upercase/lowercase values ... but the If/EndIf command does not differentiate between upper and lower cases ... this ...
SetVar "[lowercaseD]" "d"
If "[lowercaseD]" "=" "D"
AlertBox "Case" "[lowercaseD] is Upper"
EndIf
... gives me a "d is Upper" response.
Note that the TextEntry widget gives you options (in the Style section) to ...
a) only accept specified characters (Validation)
b) force upper or lower case (Text case)
... perhaps your real requirements might be met by working around the limitations of the If/End command.
@pauljonestindall
I did some experiments; it appears that the variable [TextEntry1] contains the correct upercase/lowercase values ... but the If/EndIf command does not differentiate between upper and lower cases ... this ...
SetVar "[lowercaseD]" "d"
If "[lowercaseD]" "=" "D"
AlertBox "Case" "[lowercaseD] is Upper"
EndIf
... gives me a "d is Upper" response.
Note that the TextEntry widget gives you options (in the Style section) to ...
a) only accept specified characters (Validation)
b) force upper or lower case (Text case)
... perhaps your real requirements might be met by working around the limitations of the If/End command.