Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Help with ROBLOX library application: CreateScrollingFrame()?

Asked by 8 years ago

I just need some help with creating a very basic scrolling frame using the CreateScrollingFrame() API from ROBLOX's GUI library. Yes, I'm choosing this method oppose to inserting a ScrollingFrame object. I find that it works faster, doesn't glitch, and overall looks more genuine. I can't find anything on the wiki that explains it decently, and I've had trouble figuring it out on my own.

So without making this a long complicated question, this is all I've tried so far:

local scroll_frame, scroll_up, scroll_down, scroll_func = rbxgui.CreateScrollingFrame()

scroll_frame.Size = UDim2.new(1,0,1,0)
scroll_down.Position = UDim2.new(1,-17,1,-17)
scroll_up.Position = UDim2.new(1,-17,0,0)

scroll_up.Parent = scroll_frame
scroll_down.Parent = scroll_frame
scroll_frame.Parent = chat_messages

My actual problem is i can't figure out how to get the scrolling to work. If anybody knows how to use this, or has any source i could study, i would very much appreciate that. Thank you.

0
I don't think using the Roblox API from the Roblox Gui Library is needed anymore. Their's a ScrollingFrame object that is available.. Nickoakz 231 — 8y
0
As I've said, I'm specifically choosing to use this API for multiple reasons. CodingEvolution 490 — 8y
0
And regardless of whether It's popular or not, these APIs are still active and functioning. It just happens i can't find any useful information on how this particular one works CodingEvolution 490 — 8y
0
I don't see whats wrong with using a scrolling frame? Nickoakz 231 — 8y
View all comments (5 more)
0
I didn't say anything was wrong with using a scrolling frame object. This is entirely based off personal preference, and my preference is to use the API. I find it faster, it doesn't glitch as much, and it overall looks more genuine. CodingEvolution 490 — 8y
0
That page has no content. And yes, I've looked around in the wiki for it. Nothing gave a decent example. CodingEvolution 490 — 8y
0
The page does have content. The right-most paranthesis was blocked out of the hyperlink. I also don't see the need of using the API to create a scrolling frame because it creates an exact copy of the 'ScrollingFrame' instance. DigitalVeer 1473 — 8y
0
Actually, no. Turns out the API i was looking for was "CreateTrueScrollingFrame" which doesn't create a new ScrollingFrame instance. So, never mind about the question. CodingEvolution 490 — 8y

Answer this question