Information générale
Catégorie:
Codage, syntaxe et commandes
>>Help!
>>I have stored the value of this to a custom property on my form which I then compare, using;
>>
>>if thisform.surrounded==this
>>
>>basically checking that the original value is either the same or not.
>>This code I should add is in the mousemove event of my controls.
>>
>>Anyone keen to tell me the *right* way? < S >
>>
>>Cheers
>>John
>
>John,
>Firstly, what is "this" - is it a variable or object? If a variable, call it something else. If an object, should it not be checking a property of that object?
Nigel,
Thanks alot! Another perspective really helps (and so does a little thought < g > )
It was an object and you were quite correct in reminding me of what I was trying to do!
Cheers
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement