Go to Page... |
Compatibility: | Scribes of Fate (8.3.5) Firesong (8.2.5) |
Updated: | 03/13/23 03:24 PM |
Created: | 07/11/15 10:51 AM |
Monthly downloads: | 31,504 |
Total downloads: | 4,334,628 |
Favorites: | 1,957 |
MD5: |
local entries = { { label = "Test 1", callback = function() d("Test 1") end, }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) ShowMenu()
local function GetEntries(rootMenu) d("run") return { { label = function() return GetTimeStamp() end, callback = function() d("Test 1") end, }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } end ClearMenu() AddCustomSubMenuItem("Sub Menu", GetEntries) ShowMenu()
local entries = { { label = "Test 1", callback = function() d("Test 1") end, }, { label = "-", }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) ShowMenu()
local myState = true local entries = { { label = "Test 1", callback = function(state) myState = state df("Test 1: %s", tostring(myState)) end, checked = function() return myState end, itemType = MENU_ADD_OPTION_CHECKBOX, }, { label = "Test 1b", callback = function() d("Test 1b") end, itemType = MENU_ADD_OPTION_LABEL, }, { label = "-", }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) ShowMenu()
local function func(inventorySlot, slotActions) end
local function func() end
ZO_CreateStringId("SI_BINDING_NAME_SHOW_POPUP", "Show in Popup") local function AddItem(inventorySlot, slotActions) local valid = ZO_Inventory_GetBagAndIndex(inventorySlot) if not valid then return end slotActions:AddCustomSlotAction(SI_BINDING_NAME_SHOW_POPUP, function() local bagId, slotIndex = ZO_Inventory_GetBagAndIndex(inventorySlot) local itemLink = GetItemLink(bagId, slotIndex) ZO_PopupTooltip_SetLink(itemLink) end , "") end LibCustomMenu:RegisterContextMenu(AddItem, LibCustomMenu.CATEGORY_PRIMARY)
local function AddItem(inventorySlot, slotActions) local bagId, slotIndex = ZO_Inventory_GetBagAndIndex(inventorySlot) if not CanItemBePlayerLocked(bagId, slotIndex) then return end local locked = IsItemPlayerLocked(bagId, slotIndex) slotActions:AddCustomSlotAction(locked and SI_ITEM_ACTION_UNMARK_AS_LOCKED or SI_ITEM_ACTION_MARK_AS_LOCKED, function() SetItemIsPlayerLocked(bagId, slotIndex, not locked) end, "keybind2") -- you can use: "primary", "secondary", "keybind1", "keybind2" end local menu = LibCustomMenu --menu:RegisterContextMenu(AddItem, menu.CATEGORY_PRIMARY) menu:RegisterKeyStripEnter(AddItem, menu.CATEGORY_LATE)
local function func(control, inside) end
local myState = true local entries = { { label = "Test 1", callback = function(state) myState = state df("Test 1: %s", tostring(myState)) end, checked = function() return myState end, itemType = MENU_ADD_OPTION_CHECKBOX, tooltip = "This is Test 1", }, { label = "Test 1b", callback = function() d("Test 1b") end, itemType = MENU_ADD_OPTION_LABEL, tooltip = "This is Test 2", }, { label = "-", }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) AddCustomMenuTooltip("A sub-menu") AddCustomMenuItem("-", function() d("soso") end) AddCustomMenuItem("Button", function() d("jojo") end) AddCustomMenuTooltip(function(control, inside) if inside then d("A great button") end end) AddCustomMenuItem("CheckBox", function() d("soso") end, MENU_ADD_OPTION_CHECKBOX) ShowMenu()
local index = AddCustomMenuItem("CheckBox", function() <your callback> end, MENU_ADD_OPTION_CHECKBOX) if needToCheckIt then ZO_CheckButton_SetChecked(ZO_Menu.items[index].checkbox) end
local function func(inventorySlot, slotActions, ctrl, alt, shift, command) end
local function func(playerName, rawName) end
local function func(rowData) end
local function AddItem(data) AddCustomMenuItem("Example", function() d(data.displayName) end) end local menu = LibCustomMenu menu:RegisterFriendsListContextMenu(AddItem, menu.CATEGORY_EARLY) menu:RegisterFriendsListContextMenu(AddItem, menu.CATEGORY_LAST)
File Name |
Version |
Size |
Uploader |
Date |
7.2.0 |
8kB |
votan |
03/11/23 11:59 AM |
|
7.1.3 |
8kB |
votan |
04/24/22 09:04 AM |
|
7.1.2 |
8kB |
votan |
10/24/21 07:44 AM |
|
7.1.1 |
8kB |
votan |
09/05/21 07:30 AM |
|
7.1.0 |
8kB |
votan |
09/04/21 09:32 AM |
|
7.0.1 |
8kB |
votan |
07/04/21 04:46 AM |
|
7.0.0 |
8kB |
votan |
04/28/21 11:21 AM |
|
6.9.5 |
7kB |
votan |
02/20/21 09:09 AM |
|
6.9.4 |
7kB |
votan |
11/02/20 04:41 AM |
|
6.9.3 |
7kB |
votan |
08/22/20 04:55 AM |
|
6.9.2 |
7kB |
votan |
04/21/20 03:12 PM |
|
6.9.1 |
7kB |
votan |
04/04/20 06:22 AM |
|
6.9.0 |
7kB |
votan |
04/03/20 11:43 AM |
|
6.8.2 |
7kB |
votan |
02/15/20 11:44 AM |
|
6.8.1 |
7kB |
votan |
10/03/19 04:37 AM |
|
6.8.0 |
7kB |
votan |
08/07/19 01:15 PM |
|
6.7.1 |
7kB |
votan |
07/30/19 11:57 AM |
|
6.7.0 |
7kB |
votan |
05/18/19 08:07 AM |
|
6.6.3 |
16kB |
votan |
02/23/19 10:15 AM |
|
6.6.2 |
8kB |
votan |
10/21/18 09:31 AM |
|
6.6.1 |
7kB |
votan |
10/19/18 12:13 PM |
|
6.6 |
14kB |
votan |
08/13/18 11:17 AM |
|
6.5 |
8kB |
votan |
04/22/18 05:21 AM |
|
6.4 |
7kB |
votan |
04/16/18 11:45 AM |
|
6.3 |
7kB |
votan |
03/03/18 10:58 AM |
|
6.2 |
8kB |
votan |
02/02/18 12:35 AM |
|
5 |
7kB |
votan |
01/27/18 03:11 PM |
|
5 |
7kB |
votan |
08/15/17 12:34 PM |
|
4.3 |
6kB |
votan |
07/15/17 01:00 PM |
|
4.2.0 |
6kB |
votan |
10/12/16 12:56 PM |
|
4.1.1 |
6kB |
votan |
03/07/16 12:13 PM |
|
4.1.0 |
6kB |
votan |
11/22/15 02:24 PM |
|
4.0.0 |
6kB |
votan |
08/06/15 10:48 AM |
|
3.0.0 |
6kB |
votan |
07/25/15 05:36 AM |
|
2.0.0 |
5kB |
votan |
07/11/15 10:51 AM |
Comment Options |
04/29/21, 09:38 AM | |
Forum posts: 11
File comments: 88
Uploads: 0
|
New UI Error
Failed to create control 'LibCustomMenuSubmenu'. Duplicate name.
|
|
Marcus |
View Public Profile |
Send a private message to Marcus |
Send email to Marcus |
Find More Posts by Marcus |
Add Marcus to Your Buddy List |
jacozilla |
View Public Profile |
Send a private message to jacozilla |
Send email to jacozilla |
Find More Posts by jacozilla |
Add jacozilla to Your Buddy List |
RoccoB52 |
View Public Profile |
Send a private message to RoccoB52 |
Send email to RoccoB52 |
Find More Posts by RoccoB52 |
Add RoccoB52 to Your Buddy List |
04/29/21, 07:21 AM | ||
Forum posts: 0
File comments: 18
Uploads: 0
|
|
|
|
ckr |
View Public Profile |
Send a private message to ckr |
Send email to ckr |
Find More Posts by ckr |
Add ckr to Your Buddy List |
04/29/21, 07:13 AM | |
Forum posts: 0
File comments: 5
Uploads: 0
|
Interaction with Advanced Filters plugins
Hi
just for your information, yes? updating from 6.9.5 to 7.0.0 disrupted both Advanced Filters plugins i use often: - Advanced Filters - Quality filter plugin (https://www.esoui.com/downloads/info...terplugin.html) - Advanced Filters - Recipe Filters (https://www.esoui.com/downloads/info...peFilters.html) They stopped opening theirs drop-down (basically drop-aside) submenus. Reverting from 7.0.0 back to 6.9.5 resolved the issue. |
|
Dino_Taur |
View Public Profile |
Send a private message to Dino_Taur |
Send email to Dino_Taur |
Find More Posts by Dino_Taur |
Add Dino_Taur to Your Buddy List |
04/29/21, 07:12 AM | |
It is not correct action if you now refer to the user files themselves and to notify add-on authors which errors they cause.
Correct is if the author of an add-on update makes sure that all previous current add-ons work correctly
Last edited by Schrappe : 04/29/21 at 07:18 AM.
|
|
|
Schrappe |
View Public Profile |
Send a private message to Schrappe |
Send email to Schrappe |
Find More Posts by Schrappe |
Add Schrappe to Your Buddy List |
04/29/21, 06:59 AM | |||
Forum posts: 0
File comments: 31
Uploads: 0
|
Last edited by Ratinira : 04/29/21 at 06:59 AM.
|
||
|
Ratinira |
View Public Profile |
Send a private message to Ratinira |
Send email to Ratinira |
Find More Posts by Ratinira |
Add Ratinira to Your Buddy List |
04/29/21, 06:42 AM | |||
|
Please read and follow if you get any Double control error message with e. G. SetTracker or Dolgubon Lazy Writ Crafter
You should learn how dependencies work (check the addon help forum for the sticky post e. G. https://www.esoui.com/forums/showthread.php?t=9149 ) and votan already told you guys what to do if addons like LazyWritCrafter include libraries the wrong way (hard-coded in the txt file of that addon). Please tell the addon devs of the other addons to fix this (we did already weeks ago...) and for the meantime just delete the lines to LibCustomMenu in the other addon's txt file, e. G. LazyWritCrafter.txt or SetTracker.txt Btw SetTracker is outdated and should not be used any longer (since 2020) as it's code throws error because of old libraries and code.
Last edited by Baertram : 04/29/21 at 06:54 AM.
|
||
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
04/29/21, 05:49 AM | ||
Forum posts: 0
File comments: 40
Uploads: 0
|
I assume there will be an update to cover this? |
|
|
ClevaTreva |
View Public Profile |
Send a private message to ClevaTreva |
Send email to ClevaTreva |
Find More Posts by ClevaTreva |
Add ClevaTreva to Your Buddy List |
04/29/21, 05:32 AM | |
Restoring the latest version libCostumMenu 6.9.5 is the easiest solution.
|
|
|
Schrappe |
View Public Profile |
Send a private message to Schrappe |
Send email to Schrappe |
Find More Posts by Schrappe |
Add Schrappe to Your Buddy List |
04/29/21, 05:13 AM | ||
Forum posts: 0
File comments: 4
Uploads: 0
|
I.e.: SetTracker - UPDATED |
|
|
T3Am3R |
View Public Profile |
Send a private message to T3Am3R |
Send email to T3Am3R |
Find More Posts by T3Am3R |
Add T3Am3R to Your Buddy List |
04/29/21, 02:26 AM | ||
Forum posts: 0
File comments: 5
Uploads: 0
|
Re: Submenu
I installed the version before, now it works again. But thats not the greatest way
|
|
|
Alvathyra |
View Public Profile |
Send a private message to Alvathyra |
Send email to Alvathyra |
Find More Posts by Alvathyra |
Add Alvathyra to Your Buddy List |
04/29/21, 02:21 AM | |
Forum posts: 0
File comments: 40
Uploads: 0
|
Getting these same errors too.
Can't list items in trader and right click menu is messed up. Do I edit the text file as below (is that related? I can't tell!). Thank you |
|
ClevaTreva |
View Public Profile |
Send a private message to ClevaTreva |
Send email to ClevaTreva |
Find More Posts by ClevaTreva |
Add ClevaTreva to Your Buddy List |
04/29/21, 02:15 AM | |
Forum posts: 0
File comments: 5
Uploads: 0
|
Submenu
Hey there... Does someone have a solution for the following message?
Failed to create control 'LibCustomMenuSubmenu'. Duplicate name. I can't choose anything for selling in guild shops... Thank you in advance! |
|
Alvathyra |
View Public Profile |
Send a private message to Alvathyra |
Send email to Alvathyra |
Find More Posts by Alvathyra |
Add Alvathyra to Your Buddy List |
04/29/21, 01:17 AM | ||
Forum posts: 0
File comments: 1
Uploads: 0
|
Fixed
|
|
|
AuntieMame |
View Public Profile |
Send a private message to AuntieMame |
Send email to AuntieMame |
Find More Posts by AuntieMame |
Add AuntieMame to Your Buddy List |