hide command in custom button

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

hide command in custom button

Post 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"

highend
Posts: 14950
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: hide command in custom button

Post by highend »

Put an underscore in front of it (but after the opening double quote)
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: hide command in custom button

Post by yusef88 »

XY is the best..thanks highend
highend wrote:(but after the opening double quote)
not before? :shock:

highend
Posts: 14950
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: hide command in custom button

Post by highend »

No, it belongs to the caption of an entry.
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: hide command in custom button

Post by yusef88 »

works in both situation after and before :idea:

highend
Posts: 14950
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: hide command in custom button

Post by highend »

May be the case. The help file doesn't mention that case for hidden subscripts.
One of my scripts helped you out? Please donate via Paypal

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: hide command in custom button

Post 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

Post Reply