Hi All, Yes, we can dynamically create a button so as to generate the event over the text so as to form an hyperlink. Its quite cumbersome to get the exact coordinate so that the newly placed controls are sometimes not overlapping the text and comes to the next line. How do we find the exact coordinate in which we have to place the control, such that the control is within the line in the text field.
In nutshell, When ever i select a word in the textfield, I have to create an hyperlink. event->screenX and event->screenY didn't produce the coordinate which i need (that is in the beginning of the word. or begining of the selected word.) Thanks inAdv. Shawn. >Can anyone suggest an elegant way to simulate >hypertext? I would like to > output scrollable text. A "link" would be identified by an underline, or by > bold font, or by its unique color. When a "link" is tapped it inverts, and > then an action occurs. One can dynamically create a button with no frame then draw a text box on top wit the required text or just set the label on the button. This will give you a control whic automatically inverts ang generates a event when pressed Cheers Sajul -- __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
