xoceunder
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2017
02:15 PM
Could you help me with my code
this error
146:* m.top.dialog.observeFields("buttonSelected","onVerifyPin")
sub showPinDialog()
m.pinDialog = createObject("roSGNode", "PinDialog")
m.pinDialog.title = "Example Pin Dialog"
'm.pinDialog.optionsDialog = true
m.pinDialog.message = "Press * To Dismiss"
m.pinDialog.buttons = ["Ok","Cancel"]
m.top.dialog.observeFields("buttonSelected","onVerifyPin")
m.top.dialog = m.pinDialog
End sub
Function onVerifyPin()
m.userpin = m.top.dialog.pin
print m.userpin
if m.top.dialog.buttonSelected = 1
print "ok button pressed"
else
print "cancel button pressed"
m.top.dialog.close = true
end if
end Function
146:* m.top.dialog.observeFields("buttonSelected","onVerifyPin")
1 REPLY 1
xoceunder
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2017
02:41 PM
Re: Could you help me with my code
I already found the error where I was