09-01-2007, 04:42 AM
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.
RTB
|
09-01-2007, 04:42 AM
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.
09-01-2007, 04:57 AM
yeah there was a tutorial for it a while ago. i might still have it. i'll look and see
09-01-2007, 04:58 AM
Thanks.
09-01-2007, 05:25 AM
yeah, i remember a tut on that a super long time ago. Dont have it thought sorry, best bet is on Obsidian :?
09-01-2007, 09:11 AM
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.
09-01-2007, 03:01 PM
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?
09-01-2007, 04:26 PM
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 ![]() As for where to find the separate scroll code, just look on PSC. You'll find it after a couple of searches.
09-01-2007, 04:35 PM
Okay, I'll take a look over at PSC when I get the time. Appreciate the help man, thanks.
|
« Next Oldest | Next Newest »
|