FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 25
→
WX - Informatica: Lendo objetos da tela
WX - Informatica: Lendo objetos da tela
Débuté par BOLLER, 13 mai 2019 22:51 - Aucune réponse
Connectez-vous…
BOLLER
#1
Membre enregistré
3 655 messages
Popularité : +175 (223 votes)
Posté le 13 mai 2019 - 22:51
// 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/
Signaler
0
0
→ Revenir à WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte