Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox with first seven items enabled
Message
De
29/02/2008 13:15:41
 
 
À
29/02/2008 13:12:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Divers
Thread ID:
01297487
Message ID:
01297805
Vues:
27
>>>There was a bug with VFP that the ListBox would not respond at all if there were ListBoxes on multiple Pages. I'd have to see what the fix was that could be done for that.
>>>
>>>The only workaround I ever found for that one was to add a method that moved the listboxes on the inactive pages off the visible protion of the page and move the lsibox on the active page back to its original position on activate.
>>
>>
>>The work around that I found that works is if you go through all your pages backwards in the pageframe .Init, it works.
>>
>>
*pageframe.Init
>>LOCAL x
>>FOR x=this.PageCount TO 1 STEP -1
>>  this.ActivePage = x
>>ENDFOR
>>
>>This is from memory, I can't find the project where I actually had to do this at the moment.
>
>funny one.. this is what we used to say here in brazil as the "portuguese solution".. People from portugal are equal as england people for you.. Targets of jokes with stupidies subjects..
>
>Thanks.. I'll implement even with the change for the grid.. just in case of others lists back in a future..

I found an earlier thread where I had suggested this code to some else and they said they had to put it in the Form.Init, not the PageFrame.

I also set/reset LockScreen around the code to reduce any flashing you may see as the pages are run through.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform