![]() |
no Icon on xtpControlPopup |
Post Reply ![]() |
Author | |
jamesblast ![]() Groupie ![]() Joined: 15 June 2005 Status: Offline Points: 52 |
![]() ![]() ![]() ![]() ![]() Posted: 18 August 2005 at 2:41am |
Hello,
I run this code: Set Control = AddControl(ControlFile.CommandBar.Controls, xtpControlPopup, MENU_History, "&History", True) Public Function AddControl(Controls As CommandBarControls, ControlType As XTPControlType, ID As Long, Caption As String, Optional BeginGroup As Boolean = False, Optional DescriptionText As String = "", Optional ButtonStyle As XTPButtonStyle = xtpButtonAutomatic, Optional Category As String = "Controls", Optional InitialAddition As Boolean = True) As CommandBarControl Dim Control As CommandBarControl Set Control = Controls.Add(ControlType, ID, Caption) Control.ID = ID ... end function everything works finde, BUT, i dont get an Icon for this xtpControlPopup. All other Icons work fine, but not on xtpControlPopup. what am i doing wrong? thank you |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
ButtonStyle parameter must be xtpButtonIconAndCaption |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jamesblast ![]() Groupie ![]() Joined: 15 June 2005 Status: Offline Points: 52 |
![]() ![]() ![]() ![]() ![]() |
thank you. that did it
|
|
![]() |
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 |