Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comboboxes internals
Message
De
24/08/2005 09:56:46
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01043044
Message ID:
01043317
Vues:
19
>>Strange. (this.ListCount - this.ListIndex) has none sense for me.
>
>You're right. This was not a good idea and didn't work anyway.
>
>>
>>>
>>>Therefore I had to call AdjustWidth method from combo's refresh... :(
>>
>>Obviously also here there is a bug on VFP C++ code.
>>Can you tell me these values? I don't understand the your 39
>>
>>SYSMETRIC(5)
>>FONTMETRIC(6,m.combo.FontName,m.combo.FontSize,IIF(m.combo.FontBold,"B",""))
>>
>
>17
>
>5
>
>I changed your number 7 to 6 and it almost worked. However, our QA found one case where it didn't work, e.g. the drop-down shown in smalled width than the combo's width.

7 is not a magic number, it is the default popup items height when DisplayCount=0

The issue is you 39 value!

Stay in bell, I am nearby ...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform