Page 1 of 1

set highlight styles crash

Posted: Thu Feb 06, 2014 10:58 am
by kaiserdominici
Hi all,

I am experiencing crashes every time I try to set highlight styles. This happens:

1) when I click on Graphs > Set highlight styles from the main window
2) When I click on Graph options > Set styles from the graph display window

The error returned is: "Run-time error '380': Invalid property value".

I did do a search on Google for this error and it mentions Visual Basic, but that is the extent to which I understand the issue.

Thank you and all the best,

k.

Re: set highlight styles crash

Posted: Thu Feb 06, 2014 1:48 pm
by ChrisCharlton
There is currently a bug where opening the graph highlights window will crash MLwiN if any of the defined colours have a value for their alpha channel. This will be fixed in the next release but in the mean time you can fix it by doing the following:

Choose File->New Macro from the menu.

Paste in the following lines:

Code: Select all

CVAL 0 0 0 0 0
CVAL 1 0 0 128 0
CVAL 2 0 128 0 0
CVAL 3 0 128 128 0
CVAL 4 128 0 0 0
CVAL 5 128 0 128 0
CVAL 6 128 128 0 0
CVAL 7 192 192 192 0
CVAL 8 128 128 128 0
CVAL 9 0 0 255 0
CVAL 10 0 255 255 0
CVAL 11 0 255 0 0
CVAL 12 255 0 0 0
CVAL 13 255 0 255 0
CVAL 14 255 255 0 0
CVAL 15 255 255 255 0
Click the Execute button

Note: you will need to repeat this if you restart MLwiN or load a new worksheet.

Re: set highlight styles crash

Posted: Fri Feb 07, 2014 10:24 am
by kaiserdominici
Thank you!