DrawCaptionIcon Property? |
Post Reply |
Author | |
oli.dune
Groupie Joined: 18 June 2010 Status: Offline Points: 25 |
Post Options
Thanks(0)
Posted: 14 July 2010 at 9:08am |
Hi there,
The documentation mentions a "DrawCaptionIcon" boolean property, which Specifies whether icons will be displayed in the pane caption bar. I've tried it in this way: ch_DockingPane:Icons = ch_ImageManager:Icons ch_DockingPane:PaintManager:DrawCaptionIcon = YES ch_DockingPane:PanelPaintManager:ShowIcons = YES ch_DockingPane:TabPaintManager:ShowIcons = YES ... but no icon were shown in the panes' caption bar. Please notice that the panes' Tab correctly displays its associated icon. Any suggestion? Thx |
|
Product: Xtreme SuitePro (ActiveX) version 16.4.0
Platform: Windows 10 (64bit) Language: OpenEdge 11.7.4 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
Just assign value to Pane.IconId on creation:
Set paneReportBank = DockingPane.CreatePane(1, 300, 300, DockRightOf, Nothing)
paneReportBank.Title = "Caption" paneReportBank.IconId = 1 'Your ID of icom comes here or
DockingPane.FindPane(PANE_ID).IconId = 1
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
oli.dune
Groupie Joined: 18 June 2010 Status: Offline Points: 25 |
Post Options
Thanks(0)
|
Thanks Aaron.
I forgot to mention it, but I've yet set the IconId property while creating the pane. And I guess assignation were successful because the icon were displayed in the Tab caption. ...but not in the Pane's caption bar. |
|
Product: Xtreme SuitePro (ActiveX) version 16.4.0
Platform: Windows 10 (64bit) Language: OpenEdge 11.7.4 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
ch_DockingPane:PaintManager:DrawCaptionIcon = YES should do the trick...
Do you set a different VisualStyle after setting ch_DockingPane:PaintManager:DrawCaptionIcon = YES
Setting another visual style "resets" some settings, maybe that's the problem?
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
oli.dune
Groupie Joined: 18 June 2010 Status: Offline Points: 25 |
Post Options
Thanks(0)
|
That's it!
Thank you very much Aaron. |
|
Product: Xtreme SuitePro (ActiveX) version 16.4.0
Platform: Windows 10 (64bit) Language: OpenEdge 11.7.4 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I allow my customers to change the visual style of the app and found that there are more settings set to default (don't know which ones anymore...) so I re-assigned every value again after changing visual style. I once asked support for a list of settings that would be restored to default when changing to another style but never got my hands on that list Maybe someday we will...
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
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 |