Hello,I have a Document in Edit Mode. I want to select the first Topic from a Listbox, when the user clicks on a Button.
Thanx Martin
Hello,I have a Document in Edit Mode. I want to select the first Topic from a Listbox, when the user clicks on a Button.
Thanx Martin
Subject: Use a field to hold the list box choices
On the form:
Field: “FooChoices”, Text, Allow MV, Computed for Display. Value: (some formula that produces a list of text values, like…) “One” : “Two” : “Three”
You will likely want to hide the paragraph that FooChoices is on.
Tip: If the choice list is the result of a look up, you can improve performance in read mode by using a formula in FooChoices like:
@If( @IsDocBeingEdited; “”; @Return( “” ) );
<do look-up, return result>
Field: “Foo”, ListBox, Choices: Use Formula for choices, Formula: FooChoices (Just the field name, no quotes or anything.)
Button Hotspot: Formula: FIELD Foo := FooChoices[1]; “”
– Grant