Sorry my mistake
Try this
Sub Add_Click
Dim b As Button = Sender
Dim tv_tag As String = b.Tag
tv_tag = tv_tag.Replace("Add","")
For Each tv As textview In ItemQtyPanel.GetAllViewsRecursive
If tv.tag = tv_tag Then
'do here what ever you want
Exit
End If
Next
End Sub
Thanks that solves one error, but I now I have error in the log, when I click on Add sign.
====== Combo1 Item selected 'Size A Landscape' =========
Error occurred on line: 475 (Main)
Expected: UITextView, object type: UIButton
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 0
RFG-[B4IObjectWrapper setObject:] + 364
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 292
RFG+[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1786
RFG-[B4IShell runVoidMethod] + 210
RFG-[B4IShell raiseEventImpl:method:args::] + 2154
RFG-[B4IShellBI raiseEvent:event
arams:] + 1340
RFG__33-[B4I raiseUIEvent:event
arams:]_block_invoke + 74
libdispatch.dylib <redacted> + 10
libdispatch.dylib <redacted> + 22
libdispatch.dylib <redacted> + 1524
CoreFoundation <redacted> + 8
CoreFoundation <redacted> + 1574
CoreFoundation CFRunLoopRunSpecific + 520
CoreFoundation CFRunLoopRunInMode + 108
GraphicsServices GSEventRunModal + 160
UIKit UIApplicationMain + 144
RF Gallerymain + 108
libdyld.dylib <redacted> + 2
)
Thanks.