Hey!
I created a very simple Dialog Box with the following
code:
guiCreate("Property",
Name="first", DialogControl="String",
DialogPrompt="first")
guiCreate("Property",
Name="group1", Type="Group", PropertyList =
"first")
guiCreate("Property", Name=
"returnvalue", DialogControl = "Invisible", DefaultValue=
"a")
test <- function(arg1){
print(arg1)
invisible()
}
guiCreate("FunctionInfo",
Name="test", Function="test", PropertyList =
"returnvalue, group1")
guiDisplayDialog("Function",
Name="test")
Unfortunately I get the following error when
entering a string into the field:
Problem: Object "text" not found
If I enter a string included in quotation marks, the
error does not occur and the string is passed to the function. How can I change
that behaviour?
Thanks a lot
Steffen Barembruch