Fórum eliminar a barra de espaço em um edit #167953
05/07/2003
0
Markinhos
Markinhos
Curtir tópico
+ 0Posts
05/07/2003
Ruysalles
if key = vk_espace then
key := #0;
Gostei + 0
06/07/2003
Markinhos
Gostei + 0
06/07/2003
Rômulo Barros
Pronto.... Acabou-se.. Pra que tanto problema...
Gostei + 0
06/07/2003
Rodolfoprado
if key=vk_space then
key:=´´;
eu axo
Gostei + 0
06/07/2003
Ruysalles
O Correto é:
if key = VK_SPACE then
key := #0;
Não existe o ´E´ em space.
Gostei + 0
06/07/2003
Ruysalles
O Correto é:
if key = VK_SPACE then
key := #0;
Não existe o ´E´ em space.
Gostei + 0
07/07/2003
Mauricio Goulart
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
begin
if (key in [#32]) then
key := 0;
end;
Até +
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)