Kiffi Well-Known Member Licensed User Longtime User May 21, 2014 #1 Hello, is it possible to access the 'extended' properties of an object shown in the debug-view (see attached screenshot)? Thanks in advance & Greetings ... Peter Attachments 2014-05-21_102121.png 15.5 KB · Views: 449
Hello, is it possible to access the 'extended' properties of an object shown in the debug-view (see attached screenshot)? Thanks in advance & Greetings ... Peter
Erel B4X founder Staff member Licensed User Longtime User May 21, 2014 #2 The debugger shows the object instance variables (private and public). Most of them do have public getter methods. Which one do you want to access? Upvote 0
The debugger shows the object instance variables (private and public). Most of them do have public getter methods. Which one do you want to access?
Kiffi Well-Known Member Licensed User Longtime User May 21, 2014 #3 Erel said: Which one do you want to access? Click to expand... all of them. In the meantime i figured out, that i can access the properties with JavaObject & Reflection Code: Copy ' determine if the first column is sortable Dim JO As JavaObject JO = myNode JO = JO.RunMethod("getColumns", Null) JO = JO.RunMethod("get", Array As Object(0)) JO = JO.RunMethod("isSortable", Null) I think, this is OK for me. Thanks & Greetings ... Peter Upvote 0
Erel said: Which one do you want to access? Click to expand... all of them. In the meantime i figured out, that i can access the properties with JavaObject & Reflection Code: Copy ' determine if the first column is sortable Dim JO As JavaObject JO = myNode JO = JO.RunMethod("getColumns", Null) JO = JO.RunMethod("get", Array As Object(0)) JO = JO.RunMethod("isSortable", Null) I think, this is OK for me. Thanks & Greetings ... Peter