Hi all,
I created a form with designer.
Then Ineed to change the image button by code. No problem for it.
New image has a different ratio, then I need to change button width by code.
I do it Sub Initialize.
Hi all,
I created a form with designer.
Then Ineed to change the image button by code. No problem for it.
New image has a different ratio, then I need to change button width by code.
I do it Sub Initialize.
Public Sub Initialize
PageTS.Initialize("PageTS")
PageTS.RootPanel.LoadLayout("TipoStru")
.......
.......
End Sub
Private Sub PageTS_Resize
If Main.RotLingua="IT" Then
BTRistoranti.Width=BTRistoranti.Height*4.5
Else
BTRistoranti.Width=BTRistoranti.Height*6
End If
End Sub