View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008993 | MMW v4 | Framework: Scripts/Extensions | public | 2012-01-19 02:11 | 2012-01-23 16:47 |
Reporter | peke | Assigned To | |||
Priority | none | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | no change required | ||
Product Version | 4.0.3 | ||||
Summary | 0008993: Add ISDBUI::NewOptionSheet | ||||
Description | That will create blank Option sheet and return ID of created OptionSheet Similar to ISDBUI::AddOptionSheet and ISDBUI::AddOptionSheetEx but without parameters that would be possible to change using 0008994 Delphi plugin Example: procedure TForm1.btn1Click(Sender: TObject); var SDB : TSDBApplication; TSheet : TSDBUIOptionSheet; ISheet : ISDBUIOptionSheet; i : Integer; path : WideString; begin SDB := TSDBApplication.Create(Self); path := SDB.LocalPluginsPath; i := SDB.UI.NewOptionSheet; ISheet := SDB.UI.GetOptionSheet(i); TSheet := TSDBUIOptionSheet.Create(Self); TSheet.ConnectTo(ISheet); TSheet.OnInit := DoInit; TSheet.OnSave := DoSave; TSheet.OnCancel := DoCancel; end; procedure TForm1.DoInit(Sender: TObject); begin // DoInit end; procedure TForm1.DoSave(Sender: TObject); begin // DoSave end; procedure TForm1.DoCancel(Sender: TObject); begin // DoCancel end; | ||||
Tags | No tags attached. | ||||
Fixed in build | |||||
|
It seems to be duplicate of http://www.mediamonkey.com/wiki/index.php/ISDBUI::AddOptionSheet and http://www.mediamonkey.com/wiki/index.php/ISDBUI::AddOptionSheetEx |
|
You are right defined like that it looks like duplicate, but unlike those two it creates Blank. Maybe I'm wrong But both functions do not allow supplying no parameters. or they support but than bugs 0008994 and 0008992 needs to be fixed in order to make things complete? I corrected Description. |