Closing DialogTextViewer
#1
If I'm not doing something wrong, this dialog can't be closed with DialogClose and PreviousMenu has to be used instead.

Bug or feature?
My skins:

Amber
Quartz

Reply
#2
Close works for me.
Reply
#3
Just "Close"? I was trying with "DialogClose()" .
My skins:

Amber
Quartz

Reply
#4
it's Dialog.Close()

note the .
Reply
#5
Added dot, but still doesn't work here. Using just "Close" does work.
My skins:

Amber
Quartz

Reply
#6
It's a window?
Reply
#7
Dialog.Close(textviewer)

works for sure ;-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#8
ronie Wrote:Dialog.Close(textviewer)

works for sure ;-)

Yeah, that one works too, but it doesn't look too nice in <includes> Smile

(when making a mouse close button)
My skins:

Amber
Quartz

Reply
#9
Hitcher Wrote:It's a window?

No, it's a dialog on-top of DialogAddonInfo.
My skins:

Amber
Quartz

Reply
#10
Close should work I should think? What is confluence using, or does that not have a button there?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#11
Close definitely works as that's what I use.
Reply
#12
jmarshall Wrote:Close should work I should think? What is confluence using, or does that not have a button there?

Yes, using "Close" or "Dialog.Close(textviewer)" does work, so I will use "Close" as more universal one.

Problem is only with "Dialog.Close()" for some reason, and I was using that on "ContextMenu" and "DialogButtonMenu" without a problem.
My skins:

Amber
Quartz

Reply
#13
pecinko Wrote:Problem is only with "Dialog.Close()" for some reason

maybe because that's not valid code?

according to the wiki:
Code:
[b]Dialog.Close(dialog[,force])[/b]
Close a dialog. Set force to true to bypass animations.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Closing DialogTextViewer0