PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
WX (Windev, Webdev e Windev Mobile) - Dynamic Report with one Static Control.
WX (Windev, Webdev e Windev Mobile) - Dynamic Report with one Static Control.
Started by Boller, Apr., 05 2021 6:58 PM - No answer
Connect yourself…
Boller
#1
Registered member
3,657 messages
Popularité : +175 (223 votes)
Posted on April, 05 2021 - 6:58 PM
Guys this
is
a great example how to make a Dynamic Report with one
static
C
ontrol
.
This example was made with WebDev
24
,
this can be applied to any development that needs to be build
IN
dynamic mode
.
Free code from www.mynetquest.com
:
IF
HReadFirst
(
qryRel
) =
True
THEN
FOR
E
ACH qryRel ON Posicao
IF
gs
CabLinha2Val
<
>
qryRel.Linha1
THEN
x
1
=
gn
ValorX
gn
NumeroColunas
+
+
gs
NovoControlo
=
"Linha_"
+
gn
NumeroColunas
xcontrol
<
-
ControlClone
(
ST
C_COL_Sistema
,
gs
NovoControlo
,x,y)
x
=
x
+
gn
ValorX
xcontrol
..
Width
=
gn
ValorX
xcontrol
..
HorizontalAlignment
=
haCenter
xcontrol
..
Caption
=
qryRel.Linha1
xcontrol
..
BrushColor
=
C
orConf
[
6
]
xcontrol
..
Color
=
White
ELSE
x
1
=
x
1
+
gn
ValorX
xcontrol
..
Width
=
x
1
x
=
x
+
gn
ValorX
END
gs
CabLinha2Val
=
qryRel.Linha1
END
END
Download
ALL
the code at
:
https
:
//lnkd.in/dVM87Bk
--
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