[Gambas-user] EVENT Transparency?

Dominique Simonart simonart.dominique at ...11...
Fri Mar 16 16:21:23 CET 2007


Hi Lorenzo,

Sure you're right, I could do it myself, but Gambas knows exactly where
are all my objects too, so my wish is that all this work would be made
by Gambas (my so-called Event Transparency!).
Actually the 'disposition' attribute (design mode only) define the
priority of object's overlapping from the graphical AND the event
managment point of view. It woud be a good thing to dissociate these 2
aspects in 2 separate attributes! Something like GraphicDisposition and
EventDisposition?


Steven Lobbezoo a écrit :
> Well, i suppose you can calculate the row and column from
> the x,y coordinates you have from the picturebox click.
> However that supposes that you have a fixed position, or 
> at least you know the position at the time of click of the pictuire box.
>
> Anyway, I would be interested to hear a solution, i'll have a similar
> problem soon with an app i'm writing. I want to simulate pictures in a grid,
> and i suppose i'll know the row clicked from the picturebox array.
>
> Steven
>
>
> Le jeudi 15 mars 2007 22:23, Dominique Simonart a écrit :
>   
>> Steven Lobbezoo a écrit :
>>     
>>> Just call the click event of the grid control (i.e. Mygrid_click )
>>> from the click event of your picturebox.
>>>       
>> Thanks Lorenzo!
>> That's not so simple alas because the Mygrid.Column and Mygrid.Row would
>> not be updated (hum.. I've not checked that however!)
>>
>>     
>>> Le jeudi 15 mars 2007 17:05, Dominique Simonart a écrit :
>>>       
>>>> Hi,
>>>>
>>>> For cosmetic reason, I wish to display a picturebox over a gridview (or
>>>> what you want). But, when I click on this picturebox, I wish the event
>>>> fire in the gridview below, not in the picturebox. This is what I call
>>>> "EVENT transparency" from the picturebox point of view
>>>> Is this possible?
>>>>
>>>> Gambas 1.9.47 / SuSE 10.2
>>>> Dominique Simonart





More information about the User mailing list