Showing results 1 to 25 of 147
Search took 0.01 seconds.
Search: Posts Made By: Zax
Forum: PTR General Discussion 11-23-22, 12:21 PM
Replies: 13
Views: 7,339
Posted By Zax
It seems to work fine, thank you Kharthus.

It seems to work fine, thank you Kharthus.
Forum: Lua/XML Help 11-07-22, 02:53 AM
Replies: 10
Views: 2,578
Posted By Zax
As InterfaceOptionsFrame_OpenToCategory is marked...

As InterfaceOptionsFrame_OpenToCategory is marked as deprecated ( here (https://github.com/Gethe/wow-ui-source/blob/beta/Interface/SharedXML/Settings/Blizzard_Deprecated.lua) ), I use this in my...
Forum: PTR General Discussion 11-06-22, 06:54 AM
Replies: 13
Views: 7,339
Posted By Zax
Well, after using this command, I encountered...

Well, after using this command, I encountered strange behavior with the "Game menu" panel - the one where you have standard red buttons like "Disconnect", "Quit",... All buttons seemed disabled...
Forum: PTR General Discussion 10-28-22, 05:43 AM
Replies: 3
Views: 2,455
Posted By Zax
I got the solution from RicochetRita:

I got the solution from RicochetRita:
Forum: PTR General Discussion 10-17-22, 08:14 AM
Replies: 9
Views: 3,473
Posted By Zax
CreateFrame("Frame",...

CreateFrame("Frame", "OptionsPanel")
OptionsPanel.name = "YourAddon"
InterfaceOptions_AddCategory(OptionsPanel)
SlashCmdList["ABCSlash"] =...
Forum: PTR General Discussion 10-16-22, 11:46 AM
Replies: 9
Views: 3,473
Posted By Zax
Yes, that's what I did, and the Canvas Layout...

Yes, that's what I did, and the Canvas Layout example worked on previous PTR versions. Maybe it will work again in next versions...
Forum: PTR General Discussion 10-16-22, 08:10 AM
Replies: 9
Views: 3,473
Posted By Zax
InterfaceOptionsFrame:Show() This raises an error...

InterfaceOptionsFrame:Show()
This raises an error on PTR.

InterfaceOptionsFrame_OpenToCategory("YourAddonName")
This is deprecated, according to...
Forum: PTR General Discussion 10-16-22, 05:44 AM
Replies: 9
Views: 3,473
Posted By Zax
Opening an addon settings panel?

Hello,

To open the settings panel of my addon, I use:
Settings.OpenToCategory(myAddonName)
It worked fine on previous PTR versions but now, this command only opens the general options...
Forum: PTR General Discussion 10-07-22, 07:46 AM
Replies: 3
Views: 2,174
Posted By Zax
Yes ! Thank you. :)

Yes ! Thank you. :)
Forum: PTR General Discussion 09-25-22, 10:02 AM
Replies: 13
Views: 7,339
Posted By Zax
Actually, it's a real mess in my addons and it's...

Actually, it's a real mess in my addons and it's raining errors like a stormy day in Darkshore, but now I've rewrited accesses to Settings panel, the weird error came when opening Bindings...
Forum: PTR General Discussion 09-24-22, 11:34 PM
Replies: 13
Views: 7,339
Posted By Zax
It also happens when not in combat. In fact, it...

It also happens when not in combat.

In fact, it sometimes also happens when I manually close the Binding panel. There is something wrong with the bindings. I don't know if the binding...
Forum: PTR General Discussion 09-24-22, 12:50 PM
Replies: 18
Views: 8,275
Posted By Zax
My bad, it's executed twice on Retail, and only...

My bad, it's executed twice on Retail, and only once on PTR.
So, all is OK. Thank you all :)
Forum: PTR General Discussion 09-24-22, 06:30 AM
Replies: 18
Views: 8,275
Posted By Zax
OK. I still have an annoying problem: as the up...

OK.

I still have an annoying problem: as the up and down mouse button are registered, it triggers the action twixe.
I can handle this on the PostClick script with the third argument, but I don't...
Forum: PTR General Discussion 09-24-22, 03:14 AM
Replies: 18
Views: 8,275
Posted By Zax
OK, placing Ground Markers works fine. Thank you...

OK, placing Ground Markers works fine.
Thank you SDPhantom, you saved my addon :)

I have a specific icon to delete placed ground marker, so I don't use the right-click on marker's button.
But I used...
Forum: PTR General Discussion 09-24-22, 02:52 AM
Replies: 13
Views: 7,339
Posted By Zax
Indeed, I have an alert about an unauthorized...

Indeed, I have an alert about an unauthorized action :(
Forum: PTR General Discussion 09-23-22, 08:07 AM
Replies: 13
Views: 7,339
Posted By Zax
How to close the settings panel?

Yet another question about wow 10.x...

Any idea about how to correctly close the settings panel - previously opened by Settings.OpenToCategory(addonName)?

I tried SettingsPanel:Hide() but it's not...
Forum: PTR General Discussion 09-23-22, 03:01 AM
Replies: 18
Views: 8,275
Posted By Zax
OK, I'm now able to /sit :banana: SDPhantom is...

OK, I'm now able to /sit :banana:
SDPhantom is right: both up and down listener are required for SecureActionButtonTemplate.

EDIT:
As PostClick debugging is now printed twice, I had to add a test...
Forum: PTR General Discussion 09-22-22, 08:07 AM
Replies: 18
Views: 8,275
Posted By Zax
Just copy/pasted your code Xrystal (after 2 PTR...

Just copy/pasted your code Xrystal (after 2 PTR updates) but if it correctly print the PostClick, the macro (/sit or /abs) wasn't executed.
So, I'm a little bit confused... and still standing ;)

Are...
Forum: PTR General Discussion 09-22-22, 06:17 AM
Replies: 18
Views: 8,275
Posted By Zax
Interesting, SDPhantom. Thank you. I have to say...

Interesting, SDPhantom. Thank you.

I have to say that I'm not sure how to adapt my code based on what you found.
As a reminder, I use the following basic code for a button with a macrotext...
Forum: PTR General Discussion 09-21-22, 05:49 AM
Replies: 3
Views: 2,174
Posted By Zax
Limit a frame during resizing? - exit SetMinResize()

As the frame:SetMinResize() and frame:SetMaxResize() non longer exist, is there a way to manage a frame live resizing, in order to limit its height for example?

I used to...
Forum: PTR General Discussion 09-21-22, 12:36 AM
Replies: 18
Views: 8,275
Posted By Zax
To be sure, I just tested with...

To be sure, I just tested with Button:RegisterForClicks() (https://wowpedia.fandom.com/wiki/API_Button_RegisterForClicks) without success.

button:RegisterForClicks("LeftButtonUp",...
Forum: PTR General Discussion 09-20-22, 06:06 AM
Replies: 18
Views: 8,275
Posted By Zax
I understand the value of following good...

I understand the value of following good practices, but as far as I know a frame defined as "button" handles mouseClick by default.

Anyhow, I tested with button:SetMouseClickEnabled() without...
Forum: PTR General Discussion 09-19-22, 12:41 AM
Replies: 18
Views: 8,275
Posted By Zax
SecureActionButtonTemplate with macrotext attribute not working

None of my secure buttons with macrotext attribute are working on PTR 10.x

In the main XML file (MyAddon.xml):
<Frame name="npcm_frameMain" frameStrata="BACKGROUND" virtual="false" hidden="true"...
Forum: PTR General Discussion 09-17-22, 04:35 AM
Replies: 2
Views: 2,931
Posted By Zax
Using the "Canvas" form for a settings panel, I'm...

Using the "Canvas" form for a settings panel, I'm unable to deal with check button:

First, it looks weird:
https://i.servimg.com/u/f68/13/93/17/62/captur12.jpg

Second, it doesn't work :(
local...
Forum: PTR General Discussion 09-16-22, 11:06 AM
Replies: 2
Views: 2,931
Posted By Zax
To be more accurate, I wonder how Combat section...

To be more accurate, I wonder how Combat section title is made in the following screen capture:


https://i68.servimg.com/u/f68/13/93/17/62/captur11.jpg
Showing results 1 to 25 of 147