| 11-19-2008, 09:01 AM | #1 |
see latest post for unresolved problem |
| 11-19-2008, 02:03 PM | #2 |
a width of 1 is the entire screen (100%). A width of 0.01 is 1% of the screen. A width of 0.25 is 25% of the screen. Since the first column has a width of 100%, there is no room for the other columns. |
| 11-19-2008, 11:44 PM | #3 |
OT: I thought multiboards couldn't become that large. Did blizzard change that? |
| 11-20-2008, 01:01 AM | #4 |
This is it, now: The other columns do not get displayed and the values in the first column are all wrong, still. |
| 11-20-2008, 01:10 AM | #5 |
Up your column count to at least 8. |
| 11-20-2008, 04:06 AM | #6 |
Try adding JASS:call ShowMultiboard(multiboard, false) call ShowMultiboard(multiboard, true) |
| 11-23-2008, 04:20 AM | #7 |
New problem: When I enable this, disable it, then re-enable it, row 12 (index 11) shows up blank. How to fix? JASS:public method EnableManual takes boolean on returns nothing local multiboarditem MBI set .boolManual = on if on then call MultiboardSetRowCount(.mb, 15) set MBI = MultiboardGetItem(.mb, 10, 0) call MultiboardSetItemStyle(MBI, false, false) call MultiboardSetItemWidth(MBI, 0.25) set MBI = MultiboardGetItem(.mb, 11, 0) call MultiboardSetItemStyle(MBI, true, true) call MultiboardSetItemWidth(MBI, 0.09) call MultiboardSetItemValue(MBI, "Manual - Page ") call MultiboardSetItemIcon(MBI, "ReplaceableTextures\\WorldEditUI\\Actions-Quest.blp") set MBI = MultiboardGetItem(.mb, 11, 1) call MultiboardSetItemStyle(MBI, true, false) call MultiboardSetItemWidth(MBI, 0.09) set MBI = MultiboardGetItem(.mb, 12, 0) call MultiboardSetItemStyle(MBI, false, false) call MultiboardSetItemWidth(MBI, 0.02) set MBI = MultiboardGetItem(.mb, 12, 1) call MultiboardSetItemStyle(MBI, true, false) call MultiboardSetItemWidth(MBI, 0.25) set MBI = MultiboardGetItem(.mb, 13, 0) call MultiboardSetItemStyle(MBI, false, false) call MultiboardSetItemWidth(MBI, 0.02) set MBI = MultiboardGetItem(.mb, 13, 1) call MultiboardSetItemStyle(MBI, true, false) call MultiboardSetItemWidth(MBI, 0.25) set MBI = MultiboardGetItem(.mb, 14, 0) call MultiboardSetItemStyle(MBI, false, false) call MultiboardSetItemWidth(MBI, 0.02) set MBI = MultiboardGetItem(.mb, 14, 1) call MultiboardSetItemStyle(MBI, true, false) call MultiboardSetItemWidth(MBI, 0.25) else call MultiboardSetRowCount(.mb, 10) endif set MBI = null endmethod |
| 11-23-2008, 07:27 AM | #8 |
Its a bug that can only be fixed by re-creating the multiboard. http://www.wc3campaigns.net/showpost...4&postcount=30 |
| 11-23-2008, 07:39 AM | #9 |
Ammorth, I am yet able to add text BELOW line 11, but by another function. Explain? |
| 11-23-2008, 08:24 AM | #10 |
You can only use MultiboardSetRowCount() / MultiboardSetColumnCount() once per multiboard. Trying to use it again will result in errors with setting texts on the multiboard. |
