Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>>Hello Gunnar.
>>>
>>>
>>>Bring shape to the top of text box and make it transparent. this way, when uoir text box gets the focus, the shape's fill will be visible on textbox.
>>
>>
>>Hi Vladimir
>>
>>Thanks for your response. ya, i thought about that - even tried that - and you're correct, the shape always shows, but the i gotta refere the click(), the mouse pointer, mousedown(), etc to the text box from the shape.
>>
>>i realy didn't wanna do that if i don't have to - any ideas in that regard?
>
>no, there is no other way. just out of curiosity, what you're trying to achieve? may be there is a better way ;)
well, i have a 'havy' textbox class - with lots of functionality in it. i am now creating a subclass for a 'BarCode Scanner' Textbox with specific functionality.
i want to visually let the user know (by a different background, for testing now a fill style, later maybe a picture) that this a textbox for scanning.
so, in order to keep all the other functionalities, i will have to call the callongs object events from the shape
if you have any ideas, i sure would like to hear them.
thanks for all your help!
Précédent
Suivant
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