[Gambas-user] EVENT Transparency?

Steven Lobbezoo steven at ...1652...
Fri Mar 16 10:30:48 CET 2007


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
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list