Journal str = GetInputString(s1, s2, input_str) how to distiguish between cancel and nul string
Journal str = GetInputString(s1, s2, input_str) how to distiguish between cancel and nul string
(OP)
Hi
One of the user alowed input is nul string So in the following command
str = GetInputString(s1, s2, input_str)
How I can distiguish between a 'cancel' and a 'nul string'
Thanks in advanced
One of the user alowed input is nul string So in the following command
str = GetInputString(s1, s2, input_str)
How I can distiguish between a 'cancel' and a 'nul string'
Thanks in advanced





RE: Journal str = GetInputString(s1, s2, input_str) how to distiguish between cancel and nul string
http://www.nxjournaling.com/content/user-input-inp...
www.nxjournaling.com
RE: Journal str = GetInputString(s1, s2, input_str) how to distiguish between cancel and nul string
User and the user can change or delete this info
So I can not use a space
Thank you for the this respont
RE: Journal str = GetInputString(s1, s2, input_str) how to distiguish between cancel and nul string
www.nxjournaling.com
RE: Journal str = GetInputString(s1, s2, input_str) how to distiguish between cancel and nul string
Do I can insert a custom form inside a loop
My journal is going to repeatedly let the user
select something and the journal will display adequate
info and the user can change or delete this info
Thank you for trying to help
RE: Journal str = GetInputString(s1, s2, input_str) how to distiguish between cancel and nul string
If you have a block styler license, you should probably use that. If you are working on a Windows machine with no block styler license, you can use a Winform:
http://www.nxjournaling.com/content/using-winforms...
I've heard of others creating custom input forms through Java or Python, but I don't have any examples of that.
www.nxjournaling.com
RE: Journal str = GetInputString(s1, s2, input_str) how to distiguish between cancel and nul string
If I take the example from
http://www.nxjournaling.com/content/using-winforms...
Do I can do this
While SelectNoteorLabel(obj, cursor) = Selection.Response.Ok
'My code here
'display our form
myForm.ShowDialog()
If myForm.Canceled Then
'user pressed cancel, exit journal
Return
Else
'user pressed OK, assign value from form to part attribute
_attributeValue = myForm.AttributeValue
workPart.SetUserAttribute(_attributeTitle, -1, _attributeValue, Update.Option.Later)
End If
'My code here
End While
Thank you again
RE: Journal str = GetInputString(s1, s2, input_str) how to distiguish between cancel and nul string
www.nxjournaling.com
RE: Journal str = GetInputString(s1, s2, input_str) how to distiguish between cancel and nul string
OK
thank you