Tab Lock Icons

DIRECTORY OPUS 9 Tab Lock Icons


TabLock.dis
24X24, 32X32 size

TabLock Menu Code

<?xml version="1.0"?>
<button backcol="none" display="both" icon_size="large" textcol="none" type="menu">
	<label>TabLock</label>
	<icon1>#TabLock:lock</icon1>
	<button backcol="none" display="both" icon_size="large" textcol="none">
		<label>Locked</label>
		<icon1>#TabLock:lock</icon1>
		<function type="normal">
			<instruction>Go TABLOCK=lock </instruction>
		</function>
	</button>
	<button backcol="none" display="both" icon_size="large" textcol="none">
		<label>Locked (allow changes)</label>
		<icon1>#TabLock:lockchanges</icon1>
		<function type="normal">
			<instruction>Go TABLOCK=lockchanges </instruction>
		</function>
	</button>
	<button backcol="none" display="both" icon_size="large" textcol="none">
		<label>Locked (reuse unlocked tab)</label>
		<icon1>#TabLock:lockreuse</icon1>
		<function type="normal">
			<instruction>Go TABLOCK=lockreuse </instruction>
		</function>
	</button>
	<button backcol="none" display="both" icon_size="large" separate="yes" textcol="none">
		<label>Lock Toggle</label>
		<icon1>#TabLock:locktoggle</icon1>
		<function type="normal">
			<instruction>Go TABLOCK=lock,toggle</instruction>
		</function>
	</button>
	<button backcol="none" display="both" icon_size="large" textcol="none">
		<label>Unlock</label>
		<icon1>#TabLock:unlock</icon1>
		<function type="normal">
			<instruction>Go TABLOCK=off </instruction>
		</function>
	</button>
</button>

TabLock 3buttons Code

<?xml version="1.0"?>
<button backcol="none" display="both" icon_size="large" textcol="none" type="three_button">
	<label>TabLock</label>
	<icon1>#TabLock:lock</icon1>
	<button backcol="none" display="both" icon_size="large" textcol="none">
		<label>Lock Toggle</label>
		<icon1>#TabLock:lock</icon1>
		<function type="normal">
			<instruction>Go TABLOCK=lock,toggle</instruction>
		</function>
	</button>
	<button backcol="none" display="both" icon_size="large" textcol="none">
		<label>Lock(change) Toggle</label>
		<icon1>#TabLock:lockchanges</icon1>
		<function type="normal">
			<instruction>Go TABLOCK=lockchanges,toggle</instruction>
		</function>
	</button>
	<button backcol="none" display="both" icon_size="large" textcol="none">
		<label>Lock(reuse) Toggle</label>
		<icon1>#TabLock:lockreuse</icon1>
		<function type="normal">
			<instruction>Go TABLOCK=lockreuse,toggle</instruction>
		</function>
	</button>
</button>

TabLock.zip (11.6 KB)

3 Likes

Can't find how it should work. I installed it, and top-up priority #1. Do not work. What else should to be done?

To use the menu / button XML in the root post: How to use buttons and scripts from this forum

Note that these are toolbar icons. They can be used on toolbars and context menus, but don't affect the icons used on the actual tabs. (There isn't a way to do that currently.)

1 Like

Oh. So missanderstood. I look exactly lock icons that used on Tabs... So keep waiting for this functional