Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox with first seven items enabled
Message
From
29/02/2008 13:15:41
 
 
To
29/02/2008 13:12:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Miscellaneous
Thread ID:
01297487
Message ID:
01297805
Views:
28
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform