ChatFrame:SetInsertMode('TOP') ?? (prepend messages instead of append)
So I saw this UI which has the chatframe at the top of the screen rather then at the usual bottom.
I was wondering, since ChatFrame1 is a child of ScrollingMessageFrame... one should be able to call ChatFrame1:SetInsertMode('TOP') or ChatFrame1:SetInsertMode('BOTTOM'). Trying this ingame however does not seem to have any effect however, no errors in buggrabber or in FrameXML.log.
Now I'm curious how one would achieve this effect :P
ScrollingMessageFrame:AddMessage() has an 'addToTop' argument which ignores the frame's insert mode. This is used in the combat log. Perhaps you should look into that.
You could do something like:
Thanks for finding that!
Going to play with this :)
|All times are GMT -6. The time now is 11:53 AM.|
vBulletin © 2018, Jelsoft Enterprises Ltd
© 2004 - 2017 MMOUI