Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RTB
#1
I was curious, is it possible to use a custom scroll bar in a rich text box? The default windows one just doesn't fit with games.
Reply
#2
yeah there was a tutorial for it a while ago. i might still have it. i'll look and see
Reply
#3
Thanks.
Reply
#4
yeah, i remember a tut on that a super long time ago. Dont have it thought sorry, best bet is on Obsidian :?
Reply
#5
Yes. Yes it is.

EDIT: You can use one of the crappy pre-built ones or you can get the code which allows a seperate scroll bar control a RTB, then create some picboxes to control the scrollbar.

Creates a nice effect tbf.
Reply
#6
Where can I get my hands on that code Kite?

Appreciate you pointing it out. ^_^

I was thinking about using the picture boxes myself. Though with that, what about the actual scroll bar, I would just have the arrows, correct?
Reply
#7
Well, a while ago I made a visual Inventory in one picture box (before I learnt about DX) and I made a little user control which found out the height of a picture box, how many times you wanted it to be able to scroll in both directions, and also the distance something should change with each click, and made a nice little scroller thingy.

Of course, if you are using it for just one thing, simply create a picture box which moves with the text (can use the functions which comes with the 'separate scroller' code) and then just make a quick drag code.

Unfortunately I don't have any of my old MS code left, otherwise I would have uploaded it for you Sad

As for where to find the separate scroll code, just look on PSC. You'll find it after a couple of searches.
Reply
#8
Okay, I'll take a look over at PSC when I get the time. Appreciate the help man, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)