[Gambas-user] Bugs in TextLabel

Ron ron at ...1740...
Wed Jul 15 11:40:03 CEST 2009


kobolds wrote:
>
> Benoît Minisini wrote:
>   
>>> gambas 2.14 qt
>>>
>>> 1. create a project
>>> 2. drag picturebox into the form and select a png picture (make sure at
>>> least 400x400)
>>> 3. drag a textlabel on top of the picture
>>> 4. test that you can select the picture box control or textlabel by click
>>> on them
>>> 5. change the transparent on textlabel to true
>>>
>>>  notice that you now can't click on the textlabel any more , even if you
>>> try to send the picturebox to background .
>>> this problem only occur when you set the textlabel transparent to true
>>>       
>> When a Label or TextLabel is set to transparent, it is assigned a window
>> mask 
>> so that what is not approximatively the text is not hidden by the
>> background. 
>> Consequently, you can only select the control by clicking exactly on the
>> text.
>>
>> Regards,
>>
>> -- 
>> Benoît
>>
>> ------------------------------------------------------------------------------
>> Enter the BlackBerry Developer Challenge  
>> This is your chance to win up to $100,000 in prizes! For a limited time, 
>> vendors submitting new applications to BlackBerry App World(TM) will have
>> the opportunity to enter the BlackBerry Developer Challenge. See full
>> prize  
>> details at: http://p.sf.net/sfu/Challenge
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>>     
>
> you're right . have to click exactly at the text .  is it possible to
> improve this part cause it is difficult to do that . I have to click few
> times .
>
>
>
>   
You can always select a hidden item via the Hierarchy tab on the right.
But you have to know its name, it helped me a few times.

Regards,
Ron_2nd.




More information about the User mailing list