Thanks a lot! > Hi, > > > Hi, can someone explain me what is exactly ctx-text? > > I tried using "? ctx-text" but Rebol shown me a lot of > > code! > > Short answer 1: It is a lot of code! :) > > Short answer 2: It holds a lot of the functions that FIELD, AREA, TEXT, H1, > H2, etc. need. > > Longer answer: > > You can build VID programs without knowing about it. > > ctx-text is an object! which holds some words, some objects and a lot of > functions. > All these things are grouped in the object ctx-text because they relate to > text handling. > For example, these functions and objects work together to give the ability > to copy text from a View window to the clipboard. Like this: > > view layout [text {Highlight this text with > you mouse and copy it to the clipboard > using ctrl-c.}] > > If I deliberately "cut the link" to ctx-text - see what happens: > > view layout [text "Try to copy this text now." with [feel: none]] > > Normally this prints true: > > layout [text-object: text "Some text"] > print same? text-object/feel ctx-text/swipe > > So the summary is VID styles use ctx-text to handle keystrokes, and other > text handling. > > Brett. > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > >
++++++++++++++++++++++++++++++++++++++++++++ Alessandro Manotti Presidente dell'Associazione "RIUSA" Sito web: http://riusa.apritisesamo.net email: [EMAIL PROTECTED] mailing-list: [EMAIL PROTECTED] Telefono: 347.63.43.231 -- Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f Sponsor: Più siamo, meno paghiamo: unisciti a un gruppo d’acquisto di bid.it! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=232&d=31-1 -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.