![]() |
#2 |
Участник
|
Пошуршал, пишут, что уже пофикшено - билд 6.2.1000.739
Вот "официальный" фикс: X++: void init() { boolean useGreen = false; super(); html.prefColumnSize(600,400); combobox1.prefColumnSize(400,100); _sysCompare = element.args().caller(); if (_sysCompare.parmContext()) { if (_sysCompare.parmContext() is SysCodeCoverageCompareContext) { useGreen = true; } } // // Set height of html controls to match height of comboBox controls // redHtmlGroup.height(comboBox1.heightValue()); blueHtmlGroup.height(comboBox2.heightValue()); // // Create gradients for red and blue / green indicators // this.createGradientIndicator(htmlRed, @'#FF0000', @'#FF9999'); if (useGreen) { this.createGradientIndicator(htmlBlue, @'#00FF00', @'#99FF99'); } else { this.createGradientIndicator(htmlBlue, @'#2222FF', @'#9999FF'); } } X++: private void createGradientIndicator(Object htmlActiveX, str startColor, str endColor) { str htmlBodyText; ; htmlBodyText = @" <html> <head> <style> .tableGradient { filter:progid:DXImageTransform.Microsoft.Gradient( startColorstr="+startColor+@", endColorstr="+endColor+@", gradientType=1); } body { border:0px; margin:0px; background-image: linear-gradient(to right, "+startColor+@", "+endColor+@"); background-color: "+startColor+@"; } </style> </head> <body scroll='No'> <table width='100%' height='100%' class='tableGradient'><td></td></table> </body> </html>"; SysHelp::showHTML(htmlActiveX, htmlBodyText); } |
|
|
За это сообщение автора поблагодарили: Maxim Gorbunov (3), Vadik (1), Logger (3), gl00mie (2). |
Теги |
ax2009, ax2012, ie10, syscompareform, баг |
|
|