PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
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
Started by Boller, Oct., 20 2020 1:20 AM - 2 replies
Connect yourself…
Boller
#1
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on October, 20 2020 - 1:20 AM
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/
Report
0
0
Boller
#2
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on October, 20 2020 - 1:59 AM
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
Boller
#3
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on October, 20 2020 - 2:20 AM
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/
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