Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listboxes do not respond to mouse click
Message
From
20/12/2005 10:07:56
 
 
To
20/12/2005 08:50:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01079471
Message ID:
01079532
Views:
27
Fabio, I have hacked my form to a point where I can isolate the problem. I will describe it here but if you need me to I can send you my sample form to repro the problem.

I have a form with a pageframe which has a few pages (4 in my example). On each page I put a listbox bound to an array of items which for quick testing I made this a public array of 6 items.

The form has a custom REFRESH event:
WITH THISFORM

  .LOCKSCREEN = .T.

  WITH .PAGEFRAME1
   
*   .PAGE_PRCS.REFRESH
*   .PAGE_IND1.REFRESH
*   .PAGE_IND2.REFRESH
    
  ENDWITH
 
  .LOCKSCREEN = .F.

ENDWITH
If you use the above refresh code then the listboxes work properly first time. If you un-comment the refresh for the individual pages then you must first activate those pages before the listboxes work properly. Use of DODEFAULT() before or after makes no difference. Only by commenting out the individual page refresh lines above will the listboxes work first time.

Hope this helps.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform