Applies to: posted in the softvelocity.public.clarion6 group; one answer applies "if ABC". No exact version is named.
Problem
Code placed in a browse's New Selection embed, after the generated code, runs when a row is chosen with the up or down arrow keys or the vertical scroll bar. It does not run when the user simply left-clicks a row, unless the user clicks a second time. The Selected embed after generated code did not help either.
Solution
- Put the code on EVENT:Accepted. The first answer (from memory, the poster said) was that EVENT:Selected is when the list is first selected. The original poster tried it and wrote that it worked great.
- If you use ABC, a second answer: use the TakeNewSelection embed on the BROWSE, after the parent call, not in the window embeds. The original poster said he would look at it as well.
Caveats
- The first answerer flagged his advice as from memory; the confirmation was given for EVENT:Accepted only.
- The thread does not say in which embed the Accepted code was placed.
- Nobody reported testing the TakeNewSelection route.
Today (2026)
Not re-tested. The TakeNewSelection embed is the ABC route and likely still exists; check whether your browse really needs the click event.
Sources: Ron C. (Aug 2012, the question), Lee W., Era (Aug 2012) in softvelocity.public.clarion6.