EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Scrollable text boxes, scrollable pages, scrollable text boxes in scrollable pages! (https://www.eq2interface.com/forums/showthread.php?t=1122)

Eloa 01-22-2005 02:45 PM

Scrollable text boxes, scrollable pages, scrollable text boxes in scrollable pages!
 
You have probably found yourself in the same situation I have been in for a while. You have a small page that you want to display a lot of information in so you wanted to make it scrollable only to find out that you make a new scrollbar. It don't work. You copy an existing scrollbar. It don't work. It just won't work. Whenever you punch in the name of a page for it to control it just won't accept it. So this is what you do:

Copy an existing scrollbar from Journals.JournalsQuest.Active. Copy from Journals.JournalsQuest.Active.QuestDetails the Treeview, treeviewstyle, and treeviewDSContainer into the page you want to make scrollable. Now set the control of the scrollbar to the page in which you just placed these items. It acepts it. Delete the treeview stuff. Go to the properties on the page and change the scrollextent to something larger than the size of the page. Voila. Your page scrolls.

This works in the UIBuilder as well, you do not need to load up the game to test it. Chances are if it isnt working in UIBuilder, it wont work ingame but you can try it. Let me know of the success or failures in following these steps.

Quirks:
If you resize the page after setting the scroll extent, it automatically links scroll extent to the new Size property.

From a scrollable text boxes post I made as I was figuring this stuff out. Now sure if its exactly true anymore:

from what I can see, problems only occur when you change how far down the tree the scrollbar is. You can only set it to control things within the same level of the tree. Say if you pull if from MainHUD.Society.MotdBox, you can move it to say MainHUD.BlankPage.Nothing, but you may not move it to MainHUD.BlankPage or MainHUD.BlankPage.Nothing.NothingHereEither

These are the only conditions I have noticed that caused it scrollable or not. If you can't get it to work even after following these rules, let me know and I'll look at it further.

I have just gotten a scrollable page to work. <loop>

Deathbane27 01-22-2005 04:46 PM

Nice work.

Er... a bit of the description was confusing. Care to post your example XML? :)


All times are GMT -5. The time now is 05:45 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI