Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New BUG: ListBox on page and Click event
Message
De
28/12/2005 10:31:54
 
 
À
27/12/2005 17:02:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01080960
Message ID:
01081256
Vues:
28
THANK YOU for the suggestion. But I am afraid it doesn't work. In fact, as I tested it, some of the listboxes appeared at first, then when I clicked on another page and came back they did not reappear.

So I went to the Activate/Deactivate of each page to set/reset the visible property of the listboxes and still no luck.

Do you have any other suggestions? What's really weird is I created a test form with the same number of pages and listboxes, and placed each listbox in the same order, then I used a simple query to add items to each list box, and I have no problems. But the form in our application is much more complex, and it has all sorts of objects on it and here's the weirdest part, after I select a listbox on page 5, all of the other listboxes become "clickable". ??

Any Ideas would greatly be appreciated. I have a 15 year old application with over 100,000 lines of code where this form is a central to the whole app. and I need to be able to upgrade to 9.0 for the new report features... THANKS!! IN ADVANCE.

Bob




>>I am trying to understand your workarounds...
>>
>>The first one seems to reset the Visible property of the list in the list's init event, and then refresh every list object individually.
>
>>The second one seems to be binding the click event of the page to the click event of the list, but what if you have more than one list on the page?
>>
>>I've tried workaround 1 and it doesn't seem to solve my problem. I've tried to move the list objects and size them so they don't overlap over 50 percent of each other, but I have too many list objects, and I can't shrink them down enough.
>>
>>Am I missing something, and can I get workaround2 to work with more than one list object per page?
>>
>
>>I have 6 pages, and 8 list objects 1 on page 1, 2 on page 3, 2 on page 4 and 2 on page 5 and 1 on page 6.
>
>You can.
>
>1. for All the 8 Listboxes set property Visible to .F.
>
>2. for All the 8 Listboxes put on UIEnable Event
>this.Visible = m.lEnable
>
>
>>
>>Thanks for any suggestions...BTW, this has worked fine for over 10 years!
>>
>
>I send this repro to the MS Feedback. Hope the Team fix it.
>
>>Bob
>
>Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform