View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0014889 | MMW v4 | Framework: Scripts/Extensions | public | 2018-06-20 18:58 | 2018-08-27 14:22 |
Reporter | zvezdan | Assigned To | |||
Priority | none | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 4.1.22 | ||||
Summary | 0014889: (GroupBox|Panel).Common.ControlName displayed as Caption | ||||
Description | GroupBox and Panel should not display any text if it is not specified as Caption. However, Panel displays ControlName in both skinned and non-skinned versions, while GroupBox displays ControlName when Caption is empty only in non-skinned version. | ||||
Steps To Reproduce | Option Explicit Sub OnStartUp() Dim oMenuItem Set oMenuItem = SDB.UI.AddMenuItem(SDB.UI.Menu_File, 0, 0) oMenuItem.Caption = "ControlName test" oMenuItem.OnClickFunc = "Test" oMenuItem.UseScript = Script.ScriptPath End Sub Sub Test(oMenuItem) Dim oForm Dim btnClose Dim grpTest Dim pnlTest Set oForm = SDB.UI.NewForm oForm.Common.SetRect 100, 100, 350, 190 oForm.BorderStyle = 3 oForm.FormPosition = 4 oForm.Caption = oMenuItem.Caption Set grpTest = SDB.UI.NewGroupBox(oForm) grpTest.Common.SetRect 10, 10, 300, 40 grpTest.Common.ControlName = "Blah_Blah" Set pnlTest = SDB.UI.NewPanel(oForm) pnlTest.Common.SetRect 10, 60, 300, 40 pnlTest.Common.ControlName = "Blah_Blah" Set btnClose = SDB.UI.NewButton(oForm) btnClose.Caption = SDB.Localize("&Close") btnClose.Common.SetRect 220, 110, 90, 25 btnClose.Cancel = True btnClose.ModalResult = 2 oForm.showModal End Sub | ||||
Tags | No tags attached. | ||||
Fixed in build | 1876 | ||||