FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
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
Iniciado por Boller, 20,oct. 2020 01:20 - 2 respuestas
Conéctese…
Boller
#1
Miembro registrado
3.651 mensajes
Popularité : +175 (223 votes)
Publicado el 20,octubre 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/
Informar
0
0
Boller
#2
Miembro registrado
3.651 mensajes
Popularité : +175 (223 votes)
Publicado el 20,octubre 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/
Informar
0
0
Boller
#3
Miembro registrado
3.651 mensajes
Popularité : +175 (223 votes)
Publicado el 20,octubre 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/
Informar
0
0
→ Volver a WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto