On Sat, 13 Dec 2008 21:50:55 -0000, "Sheri" <[email protected]> wrote:

>I am having some trouble with the specs for *control edit. I need to
>specify the initial content for each edit field. The fields are being
>generated in a for loop, and the content comes from a variable which
>sometimes has embedded quotations.
>
>e.g., following has issues:
>
>hitem.setlabel(?x*control edit "x++Prefs[prefkey]++?x"x)
>
>where Prefs[prefkey] is set to:
>
>"Arial Rounded MT Bold", "Bold Size: 10"
>
>Is there a workaround?

Have you tried using ?% for "?

hitem.setlabel("*control edit ?%"++Prefs[prefkey]++"%")

I haven't tried this but it should work according to Help.
-- 
Carroll Robbins

Reply via email to