Page 1 of 1
hide command in custom button
Posted: 27 Oct 2014 14:24
by yusef88
if i have some commands in a button like below and i prefer hide one of them instead of deleting it,possible?
"PlayAll MPC|mpc-hc"
"Play All|PotPlayerMini"
"PlayAll QQplayer"
Re: hide command in custom button
Posted: 27 Oct 2014 14:27
by highend
Put an underscore in front of it (but after the opening double quote)
Re: hide command in custom button
Posted: 27 Oct 2014 14:35
by yusef88
XY is the best..thanks highend
highend wrote:(but after the opening double quote)
not before?

Re: hide command in custom button
Posted: 27 Oct 2014 15:05
by highend
No, it belongs to the caption of an entry.
Re: hide command in custom button
Posted: 27 Oct 2014 15:18
by yusef88
works in both situation after and before

Re: hide command in custom button
Posted: 27 Oct 2014 15:54
by highend
May be the case. The help file doesn't mention that case for hidden subscripts.
Re: hide command in custom button
Posted: 27 Oct 2014 16:17
by TheQwerty
For the case of a custom toolbar button it might not matter but placing the underscore before the quotes is malformed and will not work correctly in all scenarios.
It's worth noting that there is also a significant difference between placing the underscore before the caption vs before the label.
For examples and more details on the various cases please see this thread:
http://www.xyplorer.com/xyfc/viewtopic. ... 74#p109974