FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 25
→
Como saber se registro foi alterado
Como saber se registro foi alterado
Débuté par Mister ANDRE MARTINI, 18 aoû. 2016 20:06 - 4 réponses
Connectez-vous…
Mister ANDRE MARTINI
#1
Membre enregistré
207 messages
Popularité : +25 (25 votes)
Posté le 18 août 2016 - 20:06
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
Signaler
0
0
Mister ANDRE MARTINI
#2
Membre enregistré
207 messages
Popularité : +25 (25 votes)
Posté le 26 août 2016 - 22:16
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
Signaler
0
0
Mister ANDRE MARTINI
#3
Membre enregistré
207 messages
Popularité : +25 (25 votes)
Posté le 27 août 2016 - 00:25
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
Signaler
0
0
BOLLER ADRIANO
#4
Membre enregistré
3 657 messages
Popularité : +175 (223 votes)
Posté le 02 septembre 2016 - 01:23
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/
Signaler
0
0
amarildo
#5
Membre enregistré
535 messages
Popularité : +14 (14 votes)
Posté le 28 septembre 2016 - 05:17
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
Signaler
0
0
→ Revenir à WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte