Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetChildObjects in LA
#1
I want to retrieve all the child controls contained within a certain control (the purple box in the image below). In QM, I can use the GetChildObjects function(The following code is automatically generated by QM). I couldn't find a similar command in the LA action panel(the red box in the image below).
https://i.ibb.co/GQ3XZMV/aa.png

Could you add this command Automatically generate relevant code? It's very commonly used, as shown the image below in QM. 
https://i.ibb.co/bRpN5ZX/gc.png

Now, I would like to know the LA code equivalent(GetChildObjects) to the following QM code

Macro test
Code:
Copy      Help
int w=win("Designer" "*.Window.*")
Acc _a.Find(w "CLIENT" "Data Panel" "class=*.Window.*[]wfName=gridVariablesPane" 0x1005)
ARRAY(Acc) ac
_a.GetChildObjects(ac)
for _i 0 ac.len
,Acc& r=ac[_i]
,out r.Value


Messages In This Thread
GetChildObjects in LA - by Davider - 03-04-2024, 09:24 PM
RE: GetChildObjects in LA - by Davider - 03-05-2024, 03:31 AM
RE: GetChildObjects in LA - by Gintaras - 03-05-2024, 05:18 AM
RE: GetChildObjects in LA - by Davider - 03-05-2024, 08:37 AM
RE: GetChildObjects in LA - by Gintaras - 03-05-2024, 09:11 AM
RE: GetChildObjects in LA - by Davider - 03-05-2024, 09:55 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)