iOS Question How to add the Page_Resize to new code Module

winjiadh

Active Member
Licensed User
Longtime User
I open the visual Designer, and click the File -> ColorsLayout
in the Abstract Designer
I click the mouse right button,chiose Generate-> Resize
in ColorsModule
Sub Page1_Resize (Width As Float, Height As Float)

End Sub
add it auto
And I add Msgbox("resize","pg") in the sub,like this
Sub Page1_Resize (Width As Float, Height As Float)
Msgbox("resize","pg")
End Sub
when I run it ,the event is not response

Help me
what's wrong with me?
thanks
I want add the Resize event in the ColorsModule.
 

Attachments

  • ResizeEvent.zip
    7.1 KB · Views: 158

winjiadh

Active Member
Licensed User
Longtime User
Sorry, Erel
I change the code like you post
Msgbox("resize","pg")-> Log ("resize loged")
and rename
Sub Page1_Resize (Width As Float, Height As Float)->
Sub pg_Resize (Width As Float, Height As Float)
and run in localhost
but log nothing
what's wrong with me, please help me.
when I want add the the Page_Resize to new code Module, the right ways, thank you.
I post the test the ReaizeEvent. Can you changed it.
 

Attachments

  • ResizeEvent.zip
    7.1 KB · Views: 157
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…