put a handler on click event of a checkbox and pass event as parameter to the handler. Then you can use event.currentTarget and you have the instance of the checkbox. .
On Thu, May 20, 2010 at 11:52 AM, vidhya lakshmi <[email protected]>wrote: > Hi, > > I have same problem, i have used the repeater for checkbox inside a tile, > But the difficulty is, how to get the selected items label values of the > check boxes inside the repeater?Please Let me know if any one has ideas > about it. > > > Thanks in Advance > Vidhya.C > > On Thu, May 20, 2010 at 11:47 AM, Vaibhav Seth > <[email protected]>wrote: > >> Also, there is a method "measureText()" in the container, by which you can >> actually get the width of the text and then you can use appropriate >> approximations to size in your control. >> >> >> >> On Thu, May 20, 2010 at 11:36 AM, Vaibhav Seth <[email protected] >> > wrote: >> >>> Choose your container to be TIle and use repeater to render the checkbox >>> >>> >>> >>> On Wed, May 19, 2010 at 9:46 PM, Geet.Kartikeya < >>> [email protected]> wrote: >>> >>>> Greetings!! >>>> >>>> >>>> I'm wondering how to dynamically position something on a canvas. I >>>> couldn't seem to find any resources on this when I used Google, so I >>>> apologise in advance if this topic has been kicked into the ground. To >>>> give an example, consider the following: >>>> >>>> >>>> >>>> I have a canvas thats 100 in width; we'll call this canvas "myCanvas". >>>> >>>> >>>> >>>> I have items coming out of my database which create checkboxes. Each >>>> checkbox has a description (the label field of the checkbox), and >>>> these vary in length (e.g. the first item might have a label thats 23 >>>> characters in length, the second may have a label thats 50). I'm >>>> currently accessing the length of the label by using >>>> "myCheckbox.label.length". >>>> >>>> >>>> >>>> So to recap, we have "myCanvas", and many "myCheckbox" elements being >>>> added to the canvas. >>>> >>>> >>>> >>>> I'm trying to make it so that myCheckbox will go from one side of the >>>> canvas to the other side, and if there's not enough room, it will >>>> dynamically drop down to the next available position in the y-axis >>>> (plus a spacer of 10px or so between the rows). >>>> >>>> >>>> >>>> Kindly please provide an example. >>>> >>>> Thank you >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Flex India Community" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]<flex_india%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/flex_india?hl=en. >>>> >>>> >>> >>> >>> -- >>> Thanks, >>> Vaibhav Seth. >>> >>> >> >> >> -- >> Thanks, >> Vaibhav Seth. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<flex_india%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- Thanks, Vaibhav Seth. -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

