Hi Guis,
I would like to know if is there some kind of GET Picture that I could specify to accept only Chars and numbers(Ex: 01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ) without alows the user to digit special chars, Is there ?
LOCAL cLetraNum := SPACE(39)
@ 1, 6 GET oGet VAR cLetraNum OF oDlg SIZE 160, 10 COLOR "W/G" ;
PICTURE "@KR 99999999999-!!!!!!!!!!!!!!!!!!!!!!!!!!"
I didn't understand is why I can do PICTURE "@!" AND can't to do PICTURE "@N". Do you know ?
James Bott wrote:If "@NNN" does what you want, then what is the problem? Maybe you don't want to specify the length?
Actually, "NNNN" also allows lower case letters too. Did you realize that?
Silvio.Falconi wrote:oGet:bChange := { | nKey,nFlag,oB|(Chr(nKey)$"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ")}
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 45 guests