johnw3600 wrote:So I presume there is no vbscript object whereby I can go...
Set obj = SDB.UI.NewObject(panel)
obj.Image.src = "C:\Program Files\MediaMonkey\Images\myimage.jpg"
Set wbIcon = SDB.UI.NewActiveX(frmDialog, "Shell.Explorer")
wbIcon.Interf.document.body.innerHTML = "<img src=""" & sIconFileName & """>"
ZvezdanD wrote:I asked MM developers so many times before for such thing, but without any response.
trixmoto wrote:Have you added this to Mantis?
johnw3600 wrote:Otherwise how could you make a player interface that works???
Or are we saying that the only objects recognised in such scripts are those predefined in MM
Whether and how these skin objects are used totally depends on the implementation of the MediaMonkey Theme Engine
Peke wrote:I guess I was not sure how to understand http://www.ventismedia.com/mantis/view.php?id=6336 but now when you mentioned it along with http://www.mediamonkey.com/wiki/index.php/SDBUIButton looks more clear.
Can you write me a PM so that we can see how to make framework for it as Delphi itself do not have Picture button object that can be used but BitButton without caption and Icon can be possibly used to represent button.
html = ""
for i = 1 to 4
style = "style='border:1px;width:48px;height:36px'"
html = html & "<img id='" & cap(i) & "' src='" & path & src(i) & "' " & style & " alt='" & cap(i) & "'>"
ax1.Interf.document.body.innerHTML = html
for i = 1 to 4
click = "ClickHandler_" & cap(i)
Script.RegisterEvent ax1.Interf.document.getElementByID(cap(i)), "OnClick", click
johnw3600 wrote:Q: How do I indentify the Sender of an OnClick event?
All four ClickHandler routines could be one, so long as I know the 'id' of the image object.
Select Case ax1.Interf.document.activeElement.ID
Users browsing this forum: No registered users and 4 guests