View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011285 | MMW v4 | Framework: Scripts/Extensions | public | 2013-09-17 13:39 | 2013-09-17 13:39 |
Reporter | zvezdan | Assigned To | |||
Priority | none | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0011285: Problem with ActiveX control in dockable panel and its Common.Anchors during startup | ||||
Description | I have the Event Logger script which has a dockable panel with one ActiveX control that covers its whole area using Common.Anchors = 1 + 2 + 4 + 8. This ActiveX control displays one table using some html code. I have also some css style with it that allows for the first row of that table to be displayed on the top everytime, even when I scroll that table vertically. Here is that part of html: ' The next statement is for static header sWebTbl = sWebTbl & "div.tableContainer {overflow: auto;" _ & " width: offsetParent.offsetWidth;" _ & " height: offsetParent.offsetHeight;} " _ & "thead tr {position:relative;" _ & " top: expression(offsetParent.scrollTop);} " This code works during run-time just fine. It also works fine during start-up with MM2, MM3 and even MM4 until build 1609. Actually, I don't know exactly when that problem started since the build 1470 is the last one that I have before 1609, so any build in between could be the first one with that. The problem is such that the mentioned first row of that html table is not initially displayed on the top, but several rows below. Oh, yes, I should mention that I have implemented one html instruction which brings the last row of that table into the view, i.e the table is always automatically scrolled to the bottom whenever some row is added to it. The same problem during start-up happens even if that dockable panel is floating undocked. However, when I move the mouse cursor over that ActiveX control, then the first row jumps to the top of the table as it should. If I remove Common.Anchors for that ActiveX control, then this problem doesn't appear, but I need it to automatically resize the control. | ||||
Steps To Reproduce | - Install Even Logger add-on; - open its Options dialog; - turn on "Load log file when open Event Viewer"; - turn on logging of some event(s), e.g. Startup; - restart the program several times if you have checked Startup until the table contains more rows than it is visible. | ||||
Additional Information | http://solair.eunet.rs/~zvezdand/EventLogger.htm | ||||
Tags | No tags attached. | ||||
Fixed in build | |||||