Wish Page_Resize event missing from TAB event list

JohnC

Well-Known Member
Licensed User
Usually you can create an event sub by typing "Sub" then a space then the TAB key, then select an object, then select an event of that object.

Well, if I am in a code module, and select the Page object, "Page_Resize" event is missing from the list of events for the page object:

Page_ResizeMissing.png


So that it will create this event:
B4X:
Private Sub pg_Resize (Width As Float, Height As Float)

End Sub
 

Erel

Administrator
Staff member
Licensed User
It is a bit confusing but the Resize event actually belongs to panels. Page.RootPanel event name is set to be the same as the Page's event name so it looks like the event belongs to the page.
 
Top