Originally Posted by zork
GetRegion()
|
I'll have to play with this some more, so far I've only gotten Select(#, BattlefieldMapFrame.ScrollContainer:GetRegion()):SetFont(...) to throw errors, no matter which number is passed to it. I might be approaching it wrong though. I've also tried the same with .Name:SetFont() It's a tad weird as technically this is something of a different class altogether a "label" and has a restricted set of functions. Using WorldMapTextFont:SetFont() works, but also changes the font on the WorldMapFrame; which is undesirable.
Thanks for pointing me in a correct direction, trying to hooksecurefunc a data provider seems like asking for trouble in a lot of different ways. I'm certain that either GetChild or GetRegion can grab the correct element reliably, just gotta figure out the correct arguments.