Fórum Aceitar somente ´S´ ou ´N´... #294269
02/09/2005
0
bom vamos la ao problema...
tenho um Edit que so poderá aceitar S ou N ... e o Backspace tambem...
eu ja tentei de diversas formas tem horas que so o S e o N funciona... tem horas que so o S e o backspace... e vice versa...
se voces puderem me ajudar eu agradesço.
Fernando_cunha
Curtir tópico
+ 0Posts
02/09/2005
Rjun
if not (Key in [´S´, ´s´, ´N´, ´n´, 8]) then Key := 0;
Gostei + 0
02/09/2005
Steve_narancic
if not (key in [´s´, ´S´, ´n´, ´N´, 8]) then key:= 0
Gostei + 0
02/09/2005
Martins
if not (Key in [´S´, ´s´, ´N´, ´n´, 8]) then Key := 0;
Prontinho, se não funfar, então, não tem jeito mesmo, hehehehe!!! :lol:
Gostei + 0
02/09/2005
Fernando_cunha
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)