Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form and listview
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00723604
Message ID:
00735732
Views:
18
I have bumped into a similar issue (VFP 7). Two list views, with right mouse activating a popup. The popup has an EXIT option. When the EXIT is selected, a button on the form is "Setfocused".

As long as the user selects EXIT, the behavior is as expected. When an off focus click on the ListView closes the popup we get problems sometimes. The listviews (and a treeview) on the form do not respond (except to node highlite) unless a control on the form is selected and focused [clicked]. Eg, focus is [must be] "pulled" or "pried" away from the listview!

In summary, right clicks are lost and active selection of nodes is lost if a popup, resulting from a right click on a listview, is cleared by an off focus on the listview control. I am considering a work around. Maybey I need to put my listviews in a CONTAINER. Is there a way to detect the popup "lost focus"?. Maybey I'll need to create a form to emulate the popup service.

Have you made any headway?


>The code you gave me to try worked so I ran my modal form independent from my program (created simple program to bring the form alone) and it worked.
>However, It still not working when my form is brought up within application.
>STRANGE!!!
>More importantly, it's more like on my code and not VFP.
>I have to investigate my code more closely now.
>I really appreciate your help and time.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform