Bluegyn
Member
Is it possible to control a VIEW (like an EditText) in a Sub, writen on a extra module of code in a project
I can easy do this by passing the EditText Object as paramater of the function
EXTRA CODE MODULE
MAIN
Is it a way to pass as argument the Whole MAIN Form ? like this :
And how to get back VIEWS control in this remote function
Thanks
***{:-
I can easy do this by passing the EditText Object as paramater of the function
EXTRA CODE MODULE
B4X:
Sub MyFunction ( MyEdit As EditTExt)
MAIN
B4X:
EXTRA_CODE_MODULE.MyFonction ( EditText1 )
Is it a way to pass as argument the Whole MAIN Form ? like this :
B4X:
EXTRA_CODE_MODULE.MyFonction ( Me )
And how to get back VIEWS control in this remote function
Thanks
***{:-