![]() |
[BUG] Font assignment ignored in 18.3 |
Post Reply ![]() |
Author | |
TomasS ![]() Groupie ![]() ![]() Joined: 28 January 2009 Location: Sweden Status: Offline Points: 47 |
![]() ![]() ![]() ![]() ![]() Posted: 19 February 2018 at 10:25am |
In 17.3 I was able to assign font.name and font.size for comboboxes and listview. Those now fail. Setting it in the IDE seems to work, but doing it from code fails.
It works fine for other controls like the pushbutton.
|
|
Xtreme SuitePro (ActiveX) version 17.3.0, 16.3.1
Windows 10 64-bit Visual Basic 6.0 |
|
![]() |
|
astoyan ![]() Admin Group ![]() ![]() Joined: 24 August 2013 Status: Offline Points: 300 |
![]() ![]() ![]() ![]() ![]() |
Please try this code (approach) which definitely works in 18.3, I have tested:
Dim newFont As StdFont Set newFont = New StdFont With newFont .Bold = True .Italic = True .Name = "Tahoma" .Size = "14" .Underline = True .Strikethrough = False End With Set TabControl1.Font = newFont Regards,
Alexander |
|
![]() |
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 |