Re: Slashes in menu items and listview headers ?
"chris.kevany" <[email protected]>
| Newsgroups | gmane.comp.windows.gui4cli |
|---|---|
| Message-ID | <[email protected]> |
Hi Fred, Thanks for trying out and reporting! As for the menu, I tried it with quickmenu's and as you know these use the slash for separating menu items. I have to consider to replace all quickmenu's for xMenu's or perhaps a universal xRoutine that simulates quickmenu's while using xMenu. And yes, listview lvcolumn attributes have the same problem as quickmenu's by using slashes as separators. Chris --- In [email protected], "fredfjord@..." <fredfjord@...> wrote: > > Hi Cris, > > I tried with this: > > xMenu #Root file 'test 1 / test2' NEWMENU > > and it works for me. > > This: > > xListview 10 40 100 200 'test1 / test2' "" lvvar > attr lvcolumn '#Name/width/120' > attr lvcolumn 'Size/TITLE/Size/TYPE/number/JUSTIFY/RIGHT' > > works only for the first column. > > This is because the keyword TITLE uses the next word separated by a slash '/'. > So TITLE/test1/test2 means TITLE takes test1 and test2 is used as the next keyword (but keyword test2 does not exists). > > You can get the column name with $$LV.COLNAME but there is no command to set/change a column name (like lv colname 'test1/test2'...). > > I wish i had better answers... > > Fred. > > > > --- In [email protected], "chris.kevany" <chris.kevany@> wrote: > > > > Hi, > > > > Is there a way to use slashes in the text of menu's and > > listview headers. > > > > I tried to escape like "text1 \/ text2" but that doesn't work. > > > > Checked out the menu's of all kind of apps but never see it used > > so I guess it's a Windows restriction. > > But perhaps it's possible for listview headers? > > > > Chris > > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/gui4cli/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/gui4cli/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/