|
Pages: [1]
|
 |
|
Author
|
Topic: Newbie: clear-fields (Read 413 times)
|
|
Kai
|
Hi ~
the help for clear-fields states that it expects a panel parameter. All the View docs that I have perused thus far, are VERY sparse on panels.
How do I use panels? What do I feed clear-fields when I don't employ panels? Is that even possible?
TIA, Kai
|
|
|
|
|
Logged
|
|
|
|
|
henrikmk
|
CLEAR-FIELDS simply clears all fields in a panel. A panel is a grouped set of faces used in LAYOUT:
view layout [ form: panel [ field "eenie" field "miney" field "moe" ] ]
Now press escape in the console window to get a prompt.
Type:
clear-fields form
This should clear all fields in the panel.
A panel is a block of faces stored inside a face. For the above layout, you'd find the form elements to be stored inside form/pane in a block.
Typing:
source clear-fields
reveals how to "travel" along such a pane to clear each individual field.
|
|
|
|
|
Logged
|
|
|
|
|
kpeters
|
Henrik ~
thanks for your exhaustive explanation - much appreciated.
Kai
|
|
|
|
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |