At 07:30 PM 6/7/2010, Dick Fey wrote:
I am playing with changing some of my choose commands to a form
using a variable lookup listview.
Question...
When using a choose, the focus is on the first line of the list.
I have not been successful at getting the listview to take focus.
Works perfect if you select with a mouse, but some users prefer
just using the up or down keys. Also can the walk menu work here?
Dick,
Here's how ...
While in Form Designer:
01. Assign a unique <Component ID> for Variable Lookup
ListView Control.
02. Use the following code as "On After Start EEP".
SET WALKMEMU ON
PROPERTY VarListViewComponentID SET_FOCUS 'TRUE'
PROPERTY VarListViewComponentID MAKECLICK '0'
RETURN
03. Use the following code as "On Form Close EEP"
SET WALKMEMU OFF
RETURN
04. Save the form and close form designer.
05. EDIT USING formname
That's all there is to it!
Very Best R:egards,
Razzak.