View Issue Details

IDProjectCategoryView StatusLast Update
0006161MMW v4Framework: Scripts/Extensionspublic2009-11-19 16:51
ReporterBex Assigned To 
PriorityhighSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version3.1.2 
Fixed in Version3.1.2 
Summary0006161: Scripting: Ability to Set focus to UI-controls
DescriptionIt would be nice to be able to set the focus in various script made controls, typically created within a Form.
E.g. SDB.UI.Focus (Property Get/Set Control As SDB.UI element)
TagsNo tags attached.
Attached Files
Sample1.vbs (1,113 bytes)
Fixed in build1294

Activities

Ludek

2009-11-10 12:22

developer   ~0019648

As discussed with Jiri, should be added to the SDBUIForm class ( http://www.mediamonkey.com/wiki/index.php/SDBUIForm ) as new method GET/LET
SDBUIForm.ActiveControl

Related method: http://www.mediamonkey.com/wiki/index.php/ISDBUI::MainWindowFocus

Ludek

2009-11-10 15:00

developer   ~0019650

Added
CoClass SDBUIForm, Interface ISDBUIForm
Property Get/Let ActiveControl As String

Sample script is attached.

Added to todoc tag.

Fixed in build 1301.

Ludek

2009-11-10 17:47

developer   ~0019655

Merged into 1289.

Removed 'todoc', documented here: http://www.mediamonkey.com/wiki/index.php/SDBUIForm

Bex

2009-11-10 19:44

updater   ~0019658

An elegant solution, I must say! :)

peke

2009-11-11 16:07

developer   ~0019669

Verified 1289

Ludek

2009-11-16 13:08

developer   ~0019729

Re-opened.

Bex contacted me, he found it as not fully implemented.
It works for direct children of the form, but when there is a Panel then it doesn't work for the children of the Panel.

This is fixed in build 1293.

Ludek

2009-11-17 15:09

developer   ~0019743

Bex tested in 1293 and found out that cursor isn't entered to some controls on skinned version.

Fixed in 1294.

Ludek

2009-11-19 16:51

developer   ~0019746

Verified by Bex in 1294.