H hdmiacc Member Licensed User Longtime User May 17, 2016 #1 how to initially create button is already Press during loading the application for 1st time? B4X: Sub Activity_Create(FirstTime As Boolean) end sub i want the btn.Tag is initial press for 1st time appliaction start. B4X: Sub pB1_Click Dim btn As Button = Sender bBand1 = btn.Tag End Sub if spinner we can used this code B4X: Sub Activity_Create(FirstTime As Boolean) spinner1_ItemClick("value","position") end sub Last edited: May 17, 2016
how to initially create button is already Press during loading the application for 1st time? B4X: Sub Activity_Create(FirstTime As Boolean) end sub i want the btn.Tag is initial press for 1st time appliaction start. B4X: Sub pB1_Click Dim btn As Button = Sender bBand1 = btn.Tag End Sub if spinner we can used this code B4X: Sub Activity_Create(FirstTime As Boolean) spinner1_ItemClick("value","position") end sub
eurojam Well-Known Member Licensed User Longtime User May 17, 2016 #2 you have to use a StateListDrawable and set it as background for the button, see User's Guide for more information on that Upvote 0
you have to use a StateListDrawable and set it as background for the button, see User's Guide for more information on that