Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listboxes do not respond to mouse click
Message
De
20/12/2005 10:33:16
 
 
À
20/12/2005 10:07:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01079471
Message ID:
01079547
Vues:
25
>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.

try this change:
nodef
WITH THISFORM

  .LOCKSCREEN = .T.

  WITH .PAGEFRAME1

   .PAGE_PRCS.REFRESH
   .PAGE_IND1.REFRESH
   .PAGE_IND2.REFRESH

  ENDWITH

  .LOCKSCREEN = .F.

ENDWITH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform