PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → double click table to open detail form
double click table to open detail form
Iniciado por Brother Bill, nov., 06 2009 6:42 PM - 1 resposta
Publicado em novembro, 06 2009 - 6:42 PM
Consider a table control showing a list of U.S. states from a State file (table).
It has an id, StateAbbr and StateFull fields.
The table displays the StateAbbr and StateFull fields.

What I need (in WebDev 14) is to extract the id, so that I can then display another form to edit that row.

Ideally, the form edit will come in front modally and gray out the current page.

What source code will accomplish this? Thank you.
Publicado em fevereiro, 01 2010 - 10:12 AM
Dear Bill,

Yes, there is a build-in function to open a pop up and grey the the background page:
Ex: you have a pop up page named Ex: Popup_test in this popup you create a procedure
Popup_test(_id) => for open a pop up and grey the background page you could use PageDisplayDialogue:
Ex: now you on row with id = "30" => please use: PageDisplayDialog(Popup_test,"30")
=> Hope it could help you because I have tried to search about this one so long time to know this build-in procedure by chance...
Best Regards,
CK