B4X FEED [DSE] Procedural question

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: [DSE] Procedural question است. این موضوع تا کنون 130 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع [DSE] Procedural question
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
130
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Mainly @Erel , but feel free to offer an opinion.

I am writing a Designer script extension that intercepts the MouseEntered And MouseExited events. I then want to pass these back to the developer in the LayoutModule so that other actions can be taken. The events could be anything, but these are the ones I am using at the moment.

Should I

1) Use the same Sub signature, e.g. MouseEntered(EventData As MouseEvent) and explain that the sender will have to be obtained a different way
or
2) Use a different Sub Signature. e.g DSEMouseEntered(SourceView As B4XView, EventData As MouseEvent) and pass the sender/Source View as a parameter.
Or
3) Something else.

I think this is quite important as a point of design, and I don't want to go down the rabbit hole with out consensus.

 

عقب
بالا