On Tue, Jul 1, 2014 at 10:21 PM, Farrukh <[email protected]> wrote:
> I am working with FloatCanvas, I am adding FloatCanvas.Rectangle to a > list and that list to listbox when any element in list box is selected > that specific shape is then redrawn as selected. > But now i want to make selection by mouse left click so my question: "Is > there a way to select a shape by just mouse left click I'm not sure what you mean by "select", but you can bind any of the mouse events to an object, so you can call any funciton you want when an object is clicked on -- the callback function gets a reference to the object clicked, so you can know what it is. See the Demo, or even better, the collection of small demos in the source, for examples. -Chris > and so that i can > proceed by redrawing shape as fit with codition. > > Farrukh > > --- > This email is free from viruses and malware because avast! Antivirus > protection is active. > http://www.avast.com > > _______________________________________________ > FloatCanvas mailing list > [email protected] > http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas > -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected]
_______________________________________________ FloatCanvas mailing list [email protected] http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
