Hello,
I have a problem creating a Dialogox which contains a list of the
variables (columnsnames) of the selected data frame. ( Like this what
you can see in the summary Dialog or Chi-Square Dialog.
here a snapshot of the code:
...
# Create a Pulldown-menu of all Dataframe (fine it works!)
guiCreate("Property", Name = "biometrie", Type = "Normal", DialogPrompt
= "&Data Set:", CopyFrom = "TXPROP_DataFrames",
IsRequired = T, UseQuotes = F, NoQuotes = F, IsList = F,
NoFunctionArg = F,
Disable = F, IsReadOnly = F)
# Col x - Now show a List of of all columnnames of the selected Data
frame.
guiCreate("Property", Name = "col.x", Type = "Normal", DialogPrompt
= "X Column:", CopyFrom = "TXPROP_DataFrameColumns",
IsRequired = T, UseQuotes = T, NoQuotes = F, IsList = F,
NoFunctionArg = F, Disable = F, IsReadOnly = F)
# Col y same as for col x
guiCreate("Property", Name = "col.y", Type = "Normal", DialogPrompt
= "Y Column:", DialogControl="Invisible", CopyFrom =
"TXPROP_DataFrameColumns",IsRequired = T,
UseQuotes = T, NoQuotes = F, IsList = F, NoFunctionArg =
F,
Disable = F, IsReadOnly = F)
....
All of my code works fine except that there is no Column-names of the
selected Dataframe are display in the Dialogbox.
But if I read the (very bad) documentation about this topic I have used:
TXPROP_DataFrameColumns and TXPROP_DataFrameColumnsNB but none of these
Properties works as described in the manual. I also have used the
predefined properties used for example of the chi-square test which does
not work as it should.
Any hint where I can search for more information would be great.
( all done with S-PLUS 6.2)
Reinhard
|