Karim Hajj Houssein
Member
Hi, I Have a Problem that when I create button manually,events doesnt work at all ,
here is the code
Sub Globals
Dim Generate As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
Generate.initialize("")
Generate.Text="Generate"
Activity.AddView(Generate,Dimension.Left-14%x,Dimension.Top+Dimension.Height,20%x,45dip)
End Sub
Sub Generate_Click
Msgbox("Dimension number should be started from number 2 At Least","Notice")
End Sub
here is the code
Sub Globals
Dim Generate As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
Generate.initialize("")
Generate.Text="Generate"
Activity.AddView(Generate,Dimension.Left-14%x,Dimension.Top+Dimension.Height,20%x,45dip)
End Sub
Sub Generate_Click
Msgbox("Dimension number should be started from number 2 At Least","Notice")
End Sub