Wish [SOLVED] Adding custom events declaration (WaitFor) ?

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,
When using WaitFor + SPACE + Tab, could it be possible to have a way to insert ourself custom events ? For example, I am always looking for the correct way to wait for a OKHttpUtls2 job which declaration is missing.

It could be useful to have a way to store the declaration (for instance in a text file) and being provided in a sub section of the pop-up menu.

Thanks
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
For example, I am always looking for the correct way to wait for a OKHttpUtls2 job which declaration is missing.
The problem with the JobDone event is that it's signature is non-standard.

You can add events to classes with the #Event attribute. They will appear in that list once you compile your classes to a library.

Example from CustomListView:
SS-2018-03-14_13.30.10.png
 

lemonisdead

Well-Known Member
Licensed User
Longtime User
Thanks a lot Erel. This is perfect :)
 
Top