dagodom Member Licensed User Longtime User Oct 2, 2013 #1 Hi, i try to use ICSMenuExample but i don't understand how can fire event on click item of AHActionItem I use Code: Copy Sub bh_Click(item As Int) but i receive error "signature does not match expected signature" Code: Copy q.Initialize("bh") Dim a As AHActionItem a.Initialize(1,"Hello",shareIcon) q.addActionItem(a) where i see some documentation on this event? Thank's Regards
Hi, i try to use ICSMenuExample but i don't understand how can fire event on click item of AHActionItem I use Code: Copy Sub bh_Click(item As Int) but i receive error "signature does not match expected signature" Code: Copy q.Initialize("bh") Dim a As AHActionItem a.Initialize(1,"Hello",shareIcon) q.addActionItem(a) where i see some documentation on this event? Thank's Regards
NJDude Expert Licensed User Longtime User Oct 2, 2013 #2 The event is actually: Code: Copy Sub bh_ItemClicked(ItemID As Int) To get the events, when you are creating the subroutine do this: 1- Type the word SUB and tap the SPACE BAR 2- Press the TAB key 3- A list will popup and you will see "AHActionBar" 4- Select it and you will see all the available events. The steps above applies to all views not only this one. Upvote 0
The event is actually: Code: Copy Sub bh_ItemClicked(ItemID As Int) To get the events, when you are creating the subroutine do this: 1- Type the word SUB and tap the SPACE BAR 2- Press the TAB key 3- A list will popup and you will see "AHActionBar" 4- Select it and you will see all the available events. The steps above applies to all views not only this one.
dagodom Member Licensed User Longtime User Oct 2, 2013 #3 Thank's for the Tips. May be i mistake something other, i put a message box in sub Code: Copy Sub bh_ItemClicked(ItemID As Int) Msgbox("fire","") End Sub but msgbox not appear. I try again with original example. Thank's again. Upvote 0
Thank's for the Tips. May be i mistake something other, i put a message box in sub Code: Copy Sub bh_ItemClicked(ItemID As Int) Msgbox("fire","") End Sub but msgbox not appear. I try again with original example. Thank's again.