Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable Items in ListView
Message
De
03/04/2000 17:44:47
 
 
À
03/04/2000 10:55:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00353590
Message ID:
00354647
Vues:
22
>Alexander,
>
>I changed the forecolor property of the listitem and it displays correctly. When I check the forecolor property in the itemclick event I get an error. The test is "IF item.Forecolor = RGB(255,0,0)" This gives an error of "function argument value, type, or count invalid." In the locals window this property has a value of (none). What am I missing?
>
>Thanks,
>Dan

Dan,

In common, this line should not cause an error and I'm little confused. This works fine for me and I never had such a problem, I inspected that value in the watch window and it shows the correct value I set to it. Try to see what value it contains (before storing new value to it) using message box or wait window command and then let me know what happen.

Alex
Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform