[BUG] TaskPanel.ItemFonts & Item.Font properties |
Post Reply |
Author | |
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
Posted: 15 May 2011 at 10:41am |
1) When a try to set the ItemFonts property from VB6IDE Properties panel
I get the error:
Invalid property value.
2) When I set programmatically the property:
TaskPanel1.ItemsFont.Name = "Tahoma"
I get the error:
Run-time error '91'
Object variable or With block variable not set
3) If I set the font for a TaskPanelItem:
Item.Font.Name = "Tahoma"
doesn't work.
Therefore there is not way to set Item font!
This seem a BUG, by me.
Finally, only TaskPanelGroup allows to change font properties.
Thank.
|
|
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Font/ItemsFont property is "Nothing" by default, so you should assign some font first: Dim fnt As StdFont Set fnt = New StdFont fnt.Name = "Tahoma" fnt.Size = 12 Set wndTaskPanel.ItemsFont = fnt |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
|
Thank Oleg,
this work.
Should be the time to update the help guide...?
Really isn't a very 'help guide'!
In this case nothing appear in the help topic about ItemsFont:
DescriptionSpecifies the font used to display the text of TaskPanelGroupItems. Property typeRead-write property Syntax (Visual Basic)Public Property ItemsFont() As Font
See AlsoIt's impossible to learn anything, using the above istructions. IMHO.
|
|
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |