StrokesPlus.net Forum
»
Bugs or Issues
»
Bug Reports
»
A bug in "Show popup menu" example ver. 0.4.2.7
Rank: Member
Groups: Approved
Joined: 5/16/2021(UTC) Posts: 10
|
There is a bug in "Show popup menu" example (ver. 0.4.2.7, Windows 10, x64):
Error: Type 'StrokesPlus.net.Engine.PopupMenuInfoEx' has no constructor that matches the specified arguments at Script:3:23 -> var popupMenuInfoEx = new PopupMenuInfoEx(sp.GetCurrentMouseCursor());
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,359 Location: Tampa, FL Thanks: 28 times Was thanked: 419 time(s) in 356 post(s)
|
GetCurrentMouseCursor returns a string, like "Hand", "Arrow" You want GetCurrentMousePoint: Code:var popupMenuInfoEx = new PopupMenuInfoEx(sp.GetCurrentMousePoint())
|
|
|
|
Rank: Member
Groups: Approved
Joined: 5/16/2021(UTC) Posts: 10
|
Thank you. GetCurrentMousePoint fixes it.
But this "Show popup menu" example is out of box after installing. IMHO better fix there too to avoid similar questions.
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,359 Location: Tampa, FL Thanks: 28 times Was thanked: 419 time(s) in 356 post(s)
|
|
|
|
|
StrokesPlus.net Forum
»
Bugs or Issues
»
Bug Reports
»
A bug in "Show popup menu" example ver. 0.4.2.7
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close