Help - Search - Members - Calendar
Full Version: help to display buttons please?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
macca
Basically this is the code I used to display the button:

CODE
$button2(50,200,5,5,$add($calcwidth(Library),10),$add($calcheight(Library),10),$font(Arial,10,,255-255-255) Library,$font(Arial,10,,255-255-255) Library,'PVAR:SET:browse:1',)


...and when the window is at it's normal size, there is no button appearing at all:

IPB Image

...but when the window is maximized to a certain size (or fully maximised), this is what I get:

IPB Image

...clearly still not the desired effect.

not sure exactly what I'm doing wrong here, any pointers please?

-mac
Spirit_of_the_ocean
This is the example from the wiki:
$button2(0,0,0,0,30,13,'$font(tahoma,8,,0-0-0)Forward','$font(tahoma,8,underline,0-0-0)Forward','Seek ahead by 10 seconds',)

The font string has to be in '...' .So it must be '$font(Arial,10,,255-255-255)Library'
macca
QUOTE(Spirit_of_the_ocean @ Jun 2 2007, 19:35) *

This is the example from the wiki:
$button2(0,0,0,0,30,13,'$font(tahoma,8,,0-0-0)Forward','$font(tahoma,8,underline,0-0-0)Forward','Seek ahead by 10 seconds',)

The font string has to be in '...' .So it must be '$font(Arial,10,,255-255-255)Library'



Ah I see, I actually tried already to put in single and in double quotes and nothing happened... obviously I must have typed it in wrong, because it's working fine now:)


Did you get my PM by the way? If not, ignore it, I figured it out now anyway, I've got to use the library filter.
thanks again
-mac
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.