GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
How can i trigger the DELETE button in a table
How can i trigger the DELETE button in a table
Iniciado por J. Flietstra, set., 28 2004 3:45 PM - 4 respostas
Conecte-se…
J. Flietstra
#1
Publicado em setembro, 28 2004 - 3:45 PM
How can i trigger the DELETE button in a table.
Denunciar
0
0
Raimund Schuldhaus
#2
Publicado em setembro, 28 2004 - 4:36 PM
Hi,
what kind of delete button do you mean? Would ExecuteProcess(yourButton, trtClick) do the job?
Raimund
>How can i trigger the DELETE button in a table.
http://www.invitec.com
Denunciar
0
0
J. Flietstra
#3
Publicado em setembro, 28 2004 - 4:47 PM
Hi,
what kind of delete button do you mean? Would ExecuteProcess(yourButton, trtClick) do the job?
Raimund
How can i trigger the DELETE button in a table.
no.. when i press in a table the delete button on the keyboard, i want to trigger that and then execute somthing.
Denunciar
0
0
Raimund Schuldhaus
#4
Publicado em setembro, 28 2004 - 5:30 PM
Hi,
two ways to go:
a) Event("YourDelHandlingProcOrMethod", YourTable, WM_KEYDOWN)
PROCEDURE YourDelhandlingProcOrMethod(nMsg, wParam, lParam)
// Check your keyboard code and do what you want: wParam contains the keycode
b) Click on the "..." button in the code view of your table, switch WM_KEYDOWN to on and enter the following code:
IF _EVE.wParam = VK_DELETE THEN
Info("delete")
END
The first way has the advantage that you have a generic way and can be easily implemented in a class. The second solution is something for doing once in a table.
Raimund
Hi,
what kind of delete button do you mean? Would ExecuteProcess(yourButton, trtClick) do the job?
Raimund
How can i trigger the DELETE button in a table.
no.. when i press in a table the delete button on the keyboard, i want to trigger that and then execute somthing.
http://www.invitec.com
Denunciar
0
0
Gill
#5
Publicado em setembro, 29 2004 - 3:27 AM
>How can i trigger the DELETE button in a table.
You can always set the shortcut - on the button Details tab - to operate with the delete key, and then set this in your models files so it happens each time you generate a window with a delete button.
Gill
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto