PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Como saber se registro foi alterado
Como saber se registro foi alterado
Started by Mister ANDRE MARTINI, Aug., 18 2016 8:06 PM - 4 replies
Connect yourself…
Mister ANDRE MARTINI
#1
Registered member
205 messages
Popularité : +25 (25 votes)
Posted on August, 18 2016 - 8:06 PM
Pessoal,
eu coloquei nos formulário um botões para navegação entre os registros (primeiro, anterior, próximo e último), só que se o usuário alterar alguma informação do registro e usar os botões de navegação o sistema não grava as alterações, existe alguma forma/função de saber se o usuário alterou algo?
--
André Martini
IS2 Automotive
http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive
http://www.is2.inf.br/is2construtive/index.html
IS2 Store
http://www.is2.inf.br/is2store/index.html
IS2 Gerent
http://www.is2.inf.br/is2gerent/index.html
Report
0
0
Mister ANDRE MARTINI
#2
Registered member
205 messages
Popularité : +25 (25 votes)
Posted on August, 26 2016 - 10:16 PM
encontrei a propriedade que indica se foi alterado algum valor de controle na janela
//.Modified is used to find out whether a control (or a group of controls) was modified by the user (with the keyboard or with the mouse.
MyWindow
..
Modified
http://help.windev.com/…
tem também o evento Whenever modified "Run when one of the window controls is modified (input performed by the user for example)."
http://help.windev.com/…
--
André Martini
IS2 Automotive
http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive
http://www.is2.inf.br/is2construtive/index.html
IS2 Store
http://www.is2.inf.br/is2store/index.html
IS2 Gerent
http://www.is2.inf.br/is2gerent/index.html
Report
0
0
Mister ANDRE MARTINI
#3
Registered member
205 messages
Popularité : +25 (25 votes)
Posted on August, 27 2016 - 12:25 AM
assim ficou meu código nos botões de navegação
IF MyWindow
..
Modified
THEN
IF
Dialog
(
"Deseja salvar as alterações?"
, [
"Sim"
,
"Não"
]
,
1
,
2
,
dlgIconQuestion
) =
1
THEN
ExecuteProcess
(
BTN_
Salvar
,
trtClick
)
END
END
HReadNext
(
Bancos
,
COMBO_
Indice
)
FileToScreen
(
)
--
André Martini
IS2 Automotive
http://www.is2.inf.br/is2automotive/index.html
IS2 Construtive
http://www.is2.inf.br/is2construtive/index.html
IS2 Store
http://www.is2.inf.br/is2store/index.html
IS2 Gerent
http://www.is2.inf.br/is2gerent/index.html
Report
0
0
BOLLER ADRIANO
#4
Registered member
3,657 messages
Popularité : +175 (223 votes)
Posted on September, 02 2016 - 1:23 AM
Show!!!!!
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
amarildo
#5
Registered member
535 messages
Popularité : +14 (14 votes)
Posted on September, 28 2016 - 5:17 AM
http://windevdesenvolvimento.blogspot.com.br/2016/09/aula-924-windev-24-mywindowmodified.html
IF MyWindow
..
Modified
THEN
Info
(
"Tela Tem Modificaçao de Campos"
)
END
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text