- Jun 6, 2020
- 11,559
- 4,422
Hi guys,
I use this codes to get relative top & left from this pos :
[H3]
Description: These two subs will get the positions of a view relative to the activity, regardless of how many parent panels it is nested in. Version: 2 SubName: GetRelativeTop 'Iterative sub to get the views Top relative to the activity window Public Sub GetRelativeTop(V As JavaObject) As Int...
It worked OK, but on scrollview relative left & top doesn't works.
Attached is the simple project to demonstrate it.
On the project, there is a panel, when clicked, will log top position.
On ScrollView, top position is always the same even scrollview scrolled.
Can anybody help me how to fix it?
Thanks in advance.
I use this codes to get relative top & left from this pos :
[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]Description: These two subs will get the positions of a view relative to the activity, regardless of how many parent panels it is nested in. Version: 2 SubName: GetRelativeTop 'Iterative sub to get the views Top relative to the activity window Public Sub GetRelativeTop(V As JavaObject) As Int...
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
It worked OK, but on scrollview relative left & top doesn't works.
Attached is the simple project to demonstrate it.
On the project, there is a panel, when clicked, will log top position.
On ScrollView, top position is always the same even scrollview scrolled.
Can anybody help me how to fix it?
Thanks in advance.
برای دیدن لینک ها باید ثبت نام کنید