Befehl: (dcl-Grid-GetCellStyle xdata_selector/xdata_selector/grid_single 1 1)
-1
Befehl: (dcl-Grid-SetCellStyle xdata_selector/xdata_selector/grid_single 1 1 6)
T
Befehl: (dcl-Grid-GetCellStyle xdata_selector/xdata_selector/grid_single 1 1)
6
Befehl: (dcl-Grid-setCelltext xdata_selector/xdata_selector/grid_single 1 1 "a")
nil
Befehl: (dcl-Grid-getCelltext xdata_selector/xdata_selector/grid_single 1 1)
""
Quote from: Fred Tomke on June 12, 2009, 04:45:03 AMQuoteFred, do you mean there is a function that will return a control based on its name?
Kelie, no, I don't mean this. I mean, when I'm painting my form and I'm coding at the same time then I want to have the VarName in clipboard to add additional (accessing) lines in my source code files. At this time I call "Set Lisp Symbol Names" at first to copy the VarName value from the property's pane into my lisp file. In most of the cases I have the needed dcl_control_...-functions in mind and then I paste the VarName into the VLISP editor. The "nice-to-have" I mean is a command in the context menu that the VarName of the currently selected control or form can be copied as text into clipboard to fasten the coding process and to avoid that the VarName property must be filled before.
I hope it was a little understandable.
Fred