FontBold = False does not work

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

FontBold = False does not work

Postby Andreas Weichert » Mon Apr 29, 2013 6:08 am

I make my first expriement with MM script and created an additional panel

Code: Select all
Dim SDB: Set SDB = CreateObject("SongsDB.SDBApplication")
Set Pnl = UI.NewDockablePersistentPanel("AWSelectionPanel")
if Pnl.IsNew then
   Pnl.DockedTo = 2
   Pnl.Common.Width = 250
End If
Pnl.Caption = "Selection"
Set FNLbl = UI.NewLabel(Pnl)
FNLbl.Autosize = True
FNLbl.Multiline = False
FNLbl.Caption = "???"

FNLbl.Common.FontBold = vbTrue            ' creates a bold font   Ok
FNLbl.Common.FontBold = vbFalse         ' creates a bold font too           ???????????

It seems that I get a none-bold font only if I write no code to set the font.

Whats the problem ????
Last edited by Lowlander on Mon Apr 29, 2013 10:34 am, edited 1 time in total.
Reason: Moved to correct forum
My Scripts
Take a look on my Android app Time Sheriff – the extensive all-in-one timer/reminder.
Andreas Weichert
Posts: 57
Joined: Fri Apr 05, 2013 4:51 am

Return to MediaMonkey 4 Addons developer forum

Who is online

Users browsing this forum: No registered users and 3 guests