A "crazy" idea, not easily implementable, but very cross-platform.
I'm developing using B4J. I want the Designer to generate the event routine for a pane click. The Designer displays the list of events it can create for the pane, in this case the event:
Since the project is cross-platform, I'll need the following in the source code:
If the Designer were to generate those lines of code based on a setting, it would be useful both to speed up project development and in case I didn't know that that event has a different signature in B4A and B4i.
I'm developing using B4J. I want the Designer to generate the event routine for a pane click. The Designer displays the list of events it can create for the pane, in this case the event:
B4X:
pnlXXX_MouseClicked (EventData As MouseEvent)
Since the project is cross-platform, I'll need the following in the source code:
B4X:
#IF B4J
Private Sub pnlXXX_MouseClicked (EventData As MouseEvent)
#ELSE
Private Sub pnlXXX_Click
#End If
End Sub
If the Designer were to generate those lines of code based on a setting, it would be useful both to speed up project development and in case I didn't know that that event has a different signature in B4A and B4i.