- Jun 6, 2020
- 11,559
- 4,422
Good Day to you,
may be it is a silly question but yet I do'nt see the wood for the trees.
I developed a XUI Custom View and put the view as a children in a Panel. Now I like to run through the Panel childern and test each returned view ( see code example). For the native views it is working fine. But if I like to test a custom view it fails. I tried also GetType but it is the same result.
Next I tried to get access to a custom property of the custom view and coded a getColumnName public sub. It is shown in the view's context menu but calling it leads to an error (see code).
Questions:
What is a working way to detect the type of a custom view?
How to access a Custom Views custom property.
Thank you for your help.
Best regards Guenter
Example:
may be it is a silly question but yet I do'nt see the wood for the trees.
I developed a XUI Custom View and put the view as a children in a Panel. Now I like to run through the Panel childern and test each returned view ( see code example). For the native views it is working fine. But if I like to test a custom view it fails. I tried also GetType but it is the same result.
Next I tried to get access to a custom property of the custom view and coded a getColumnName public sub. It is shown in the view's context menu but calling it leads to an error (see code).
Questions:
What is a working way to detect the type of a custom view?
How to access a Custom Views custom property.
Thank you for your help.
Best regards Guenter
Example:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید