PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
Criando objetos em Runtime
Criando objetos em Runtime
Started by Boller, Dec., 21 2021 6:50 PM - 2 replies
Connect yourself…
Boller
#1
Registered member
3,655 messages
Popularité : +175 (223 votes)
Posted on December, 21 2021 - 6:50 PM
Solução
// Summary: <specify the procedure action>
// Syntax:
//CreateCamposRuntime (<gNomeRelatorio>, <gParametersReletario>)
//
// Parameters:
//
gNomeRelatorio:
//
gParametersReletario: <specify the role of gParametersReletario>
// Example:
// <Specify a usage example>
//
Procedure
CreateCamposRuntime
(
gNomeRelatorio
,
gParametersReletario
)
OBJ
is string
x
Control
is Control
i
,
y
is int
=
0
total
is int
=
StringCount
(
gParametersReletario
,
";"
,
IgnoreCase
)
//TITULO
OBJ
=
"SC_AreaPlotagem.STC_TextoX"
x
Control
<
-
ControlClone
(
ST
C_Texto
,
OBJ
)
x
Control.Width
=
ST
C_Texto.Width
x
Control.X
=
30
x
Control.Y
=
30
x
Control.Caption
=
gNomeRelatorio
//CAMPOS
LOOP
(
total
)
i
+
+
IF i
=
1
THEN
y
=
75
E
LSE
y
+
=
35
E
ND
OBJ
=
"SC_AreaPlotagem.EDT_"
+
NoSpace
(
ExtractString
(
gParametersReletario
,
i
,
";"
,
FromBeginning
)
,
sscAll
)
x
Control
<
-
ControlClone
(
E
DT_Texto
,
OBJ
)
x
Control.Width
=
E
DT_Texto.Width
x
Control.X
=
35
x
Control.Y
=
y
x
Control.Caption
=
ExtractString
(
gParametersReletario
,
i
,
";"
,
FromBeginning
)
E
ND
--
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,655 messages
Popularité : +175 (223 votes)
Posted on December, 21 2021 - 7:11 PM
--
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,655 messages
Popularité : +175 (223 votes)
Posted on December, 21 2021 - 7:13 PM
--
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