Vlad77
asked on
Set Focus
Why ,when I use ListView Object and I write :
ListView1.SetFocus
I receive an error:"Invalid procedure call or argument"
Object is enable ,I cant't understand where is the problem
Please ,help me .
ListView1.SetFocus
I receive an error:"Invalid procedure call or argument"
Object is enable ,I cant't understand where is the problem
Please ,help me .
Is the form which it resides on visible at the moment of setting focus ? It must be, or "Invalid procedure call or argument" will occur.
the listview and the form must be visible and enabled before setting focus to it.
I think that definately ur enabled property of the list view is False. Make it true and try again.
it can be if your form where the listview resides isnt actice
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
RichW