GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 25
→
WX - Informatica: Lendo objetos da tela
WX - Informatica: Lendo objetos da tela
Iniciado por BOLLER, mai., 13 2019 10:51 PM - Sem resposta
Conecte-se…
BOLLER
#1
Membro registado
3.651 mensagems
Popularité : +175 (223 votes)
Publicado em maio, 13 2019 - 10:51 PM
// Summary: <specify the procedure action>
// Syntax:
//Screen_05_AddSubElement (<nID>, <sObjName>)
//
// Parameters:
//
nID: <specify the role of nID>
//
sObjName: <specify the role of sObjName>
// Return Value:
//
None
//
// For instance:
// Indicate an example.
//
Procedure
Screen_05_AddSubElement
(
n
ID
,
s
ObjName
)
// Fill a combo box with the list of window controls
i
is int
=
1
C
ontrolName01
,
Objetos
is string
C
ontrolName01
=
EnumControl
(
"WIN_GPU_05_Password"
,
i
,
byTabOrder
)
WHILE
C
ontrolName01
<
>
""
i
+
+
Objetos
+
=
C
ontrolName01
IF
n
ID
>
0
AND
s
ObjName
<
>
""
GPU_12_SoftControls.Configuration_ID
=
1
GPU_12_SoftControls.Controls_ID
=
GPU_GetSEQ
(
"GPU_12_SoftControls"
,
"Controls_ID"
)
GPU_12_SoftControls.Soft_ID
=
1
GPU_12_SoftControls.WinRepProc_ID
=
n
ID
GPU_12_SoftControls.NameControl
=
s
ObjName
+
"."
+
C
ontrolName01
GPU_12_SoftControls.Caption
=
C
ontrolName01
GPU_12_SoftControls.Type
=
Screen_TipoControle
(
C
ontrolName01
)
GPU_12_SoftControls.Status
=
"A"
HAdd
(
GPU_12_SoftControls
)
// Browse the panes in a tab control sub itens
C
ontrolName02
is string
=
EnumSubElement
(
GPU_12_SoftControls.NameControl
,
enumFirst
+
enumPane
+
enumAll
)
WHILE
C
ontrolName02
<
>
""
// Go to the next pane
C
ontrolName02
=
EnumSubElement
(
GPU_12_SoftControls.NameControl
,
enumPane
+
enumPane
+
enumAll
)
GPU_12_SoftControls.Configuration_ID
=
1
GPU_12_SoftControls.Controls_ID
=
GPU_GetSEQ
(
"GPU_12_SoftControls"
,
"Controls_ID"
)
GPU_12_SoftControls.Soft_ID
=
1
GPU_12_SoftControls.WinRepProc_ID
=
n
ID
GPU_12_SoftControls.NameControl
=
s
ObjName
+
"."
+
C
ontrolName02
GPU_12_SoftControls.Caption
=
C
ontrolName02
GPU_12_SoftControls.Type
=
Screen_TipoControle
(
C
ontrolName02
)
GPU_12_SoftControls.Status
=
"A"
HAdd
(
GPU_12_SoftControls
)
END
END
C
ontrolName01
=
EnumControl
(
s
ObjName
,
i
)
END
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Denunciar
0
0
→ Voltar para WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto