FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 25
→
WM - Adicionando dados em um Looper Control para funcionar no Android e no iOS
WM - Adicionando dados em um Looper Control para funcionar no Android e no iOS
Débuté par Boller, 20 oct. 2020 01:20 - 2 réponses
Connectez-vous…
Boller
#1
Membre enregistré
3 651 messages
Popularité : +175 (223 votes)
Posté le 20 octobre 2020 - 01:20
Procedure
FiltraNotificacao
(
IdCampanha
is int
)
x
is int
=
0
LooperDeleteAll
(
LOOP_QRY_Select_Notificacoes
)
IF
IdCampanha
>
0
ok
is boolean
=
HExecuteQuery
(
QRY_Select_Notificacoes
,
hQueryDefault
,
IdCampanha
)
IF
ok
=
True
THEN
FOR
E
ACH QRY_Select_Notificacoes
IF
HFound
(
QRY_Select_Notificacoes
) =
True
AND
QRY_Select_Notificacoes.t011_campanhaCodigo
=
IdCampanha
x
+
=
1
LooperAdd
(
LOOP_QRY_Select_Notificacoes
)
LOOP_QRY_Select_Notificacoes
[x]
.
IMG_icone
=
QRY_Select_Notificacoes.t011_Icone_bmp
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_IDNotificacao
=
QRY_Select_Notificacoes.t011_idNotificacao
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_campanha
=
QRY_Select_Notificacoes.t011_campanhaNome
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_DataHora
=
QRY_Select_Notificacoes.t011_datahora_formatada
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_Titulo
=
QRY_Select_Notificacoes.t011_titulo
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_Txt
=
QRY_Select_Notificacoes.t011_olho
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_IDCampanha
=
QRY_Select_Notificacoes.t011_campanhaCodigo
//
LooperAdd(LOOP_QRY_Select_Notificacoes, QRY_Select_Notificacoes.t011_idNotificacao +tab+...
//
QRY_Select_Notificacoes.t011_campanhaCodigo +tab+...
//
QRY_Select_Notificacoes.t011_titulo +tab+...
//
QRY_Select_Notificacoes.t011_campanhaNome +tab+...
//
QRY_Select_Notificacoes.t011_datahora_formatada +tab+...
//
QRY_Select_Notificacoes.t011_olho +TAB+...
//
QRY_Select_Notificacoes.t011_Icone_bmp)
END
END
END
ELSE
ok
is boolean
=
HExecuteQuery
(
QRY_Select_Notificacoes_SemFiltro
,
hQueryDefault
)
IF
ok
=
True
THEN
FOR
E
ACH QRY_Select_Notificacoes_SemFiltro
IF
HFound
(
QRY_Select_Notificacoes_SemFiltro
) =
True
THEN
x
+
=
1
LooperAdd
(
LOOP_QRY_Select_Notificacoes
)
LOOP_QRY_Select_Notificacoes
[x]
.
IMG_icone
=
QRY_Select_Notificacoes_SemFiltro.t011_Icone_bmp
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_IDNotificacao
=
QRY_Select_Notificacoes_SemFiltro.t011_idNotificacao
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_campanha
=
QRY_Select_Notificacoes_SemFiltro.t011_campanhaNome
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_DataHora
=
QRY_Select_Notificacoes_SemFiltro.t011_datahora_formatada
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_Titulo
=
QRY_Select_Notificacoes_SemFiltro.t011_titulo
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_Txt
=
QRY_Select_Notificacoes_SemFiltro.t011_olho
LOOP_QRY_Select_Notificacoes
[x]
.
ATT_IDCampanha
=
QRY_Select_Notificacoes_SemFiltro.t011_campanhaCodigo
//
//
//
LooperAdd(LOOP_QRY_Select_Notificacoes, QRY_Select_Notificacoes_SemFiltro.t011_idNotificacao +TAB+...
//
QRY_Select_Notificacoes_SemFiltro.t011_campanhaCodigo +TAB+...
//
QRY_Select_Notificacoes_SemFiltro.t011_titulo +TAB+...
//
QRY_Select_Notificacoes_SemFiltro.t011_campanhaNome +TAB+...
//
QRY_Select_Notificacoes_SemFiltro.t011_datahora_formatada +TAB+...
//
QRY_Select_Notificacoes_SemFiltro.t011_olho +TAB+...
//
QRY_Select_Notificacoes_SemFiltro.t011_Icone_bmp)
END
END
END
END
LooperDisplay
(
LOOP_QRY_Select_Notificacoes
,
taReExecuteQuery
)
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Signaler
0
0
Boller
#2
Membre enregistré
3 651 messages
Popularité : +175 (223 votes)
Posté le 20 octobre 2020 - 01:59
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Signaler
0
0
Boller
#3
Membre enregistré
3 651 messages
Popularité : +175 (223 votes)
Posté le 20 octobre 2020 - 02:20
Procedure
SelecionarRegistro_Abre
(
)
IF
gn
_x
>
0
THEN
GNCODIGO
=
LOOP_QRY_LISTA_FUNCIONARIOS
[
gn
_x
]
.
ATT_ID
IF
GNCODIGO
>
0
THEN
Editar
(
GNCODIGO
)
END
END
Procedure
SelecionarRegistro_NaoAbre
(
)
gn
_x
=
LooperInfoXY
(
LOOP_QRY_LISTA_FUNCIONARIOS
,
liLineNumber
,
MouseXPos
(
)
,
MouseYPos
(
)
)
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
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