Hi, Allen I think that the 'field flag should be enouph to highlit, look at the source of focus:
... if flag-face? face field [hilight-all face] and the standard function: ctx-text/hilight-all: func [face][ view*/highlight-start: head face/text view*/highlight-end: tail face/text ] --- Ciao Romano ----- Original Message ----- From: "Allen Kamp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 18, 2002 9:59 PM Subject: [REBOL] Re: Applying Focus > And if you want it highlighted too, here's how. (from > http://www.rebolforces.com/view-faq.html#sect2.4.) > > highlight-text: func [face][ > focus face > system/view/highlight-start: head face/text > system/view/highlight-end: tail face/text > system/view/caret: head face/text > ] > > view layout [name: field "<enter your name>" do [highlight-text name]] > > Cheers, > > Allen K > > > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.