View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013888 | MMW v4 | Framework: Scripts/Extensions | public | 2017-01-09 17:01 | 2017-02-03 23:06 |
Reporter | peke | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | assigned | Resolution | open | ||
Target Version | 4.1.15 | ||||
Summary | 0013888: Option Sheet: Common Option Sheet values are not read correctly | ||||
Description | When user read first "Sheet.Common.Width" after reopen the options and init sheet value is not read correctly, every other read is correctly read. | ||||
Additional Information | http://forum.mediamonkey.com/viewtopic.php?f=19&t=86746 | ||||
Tags | No tags attached. | ||||
Attached Files | Panel.vbs (1,270 bytes)
Sub OnStartup Dim ind ind = SDB.UI.AddOptionSheet("TestSheet",Script.ScriptPath,"InitSheet","SaveSheet",-2) End Sub Sub InitSheet(Sheet) Dim form, Panel1, Panel2, Panel3, Panel4, PanelWidth PanelWidth = Sheet.Common.Width -20 Set Panel1 = SDB.UI.NewGroupBox(Sheet) Panel1.Common.Anchors = 1+2+4 Panel1.Caption = "Panel 1" Set Panel2 = SDB.UI.NewGroupBox(Sheet) Panel2.Common.Anchors = 1+2+4 Panel2.Caption = "Panel 2" Set Panel3 = SDB.UI.NewGroupBox(Sheet) Panel3.Common.Anchors = 1+2+4 Panel3.Caption = "Panel 3" Set Panel4 = SDB.UI.NewGroupBox(Sheet) Panel4.Common.Anchors = 1+2+4 Panel4.Caption = "Panel 4" PanelWidth = Sheet.Common.Width -20 Panel1.Common.SetRect 10,5,PanelWidth,50 Panel2.Common.SetRect 10,65,PanelWidth ,50 Panel3.Common.SetRect 10,125,PanelWidth,50 Panel4.Common.SetRect 10,185,PanelWidth,50 End Sub Sub SaveSheet(Sheet) End Sub | ||||
Fixed in build | |||||