TabControl Problem |
Post Reply |
Author | |
SnoopDawg0
Newbie Joined: 03 May 2009 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 03 May 2009 at 1:26pm |
Public Sub AddIcon( _
ByVal Handle As Long, _ ByVal Command As Long, _ ByVal imageState As XTPImageState _ ) End Sub Private Sub Form_Load() With Me.TabControl .Icons.AddIcon ImageList.ListImages(1).Picture.Handle, 101, xtpImageNorm End With End Sub Because TabControl by default doesn't allow images to be next to the text why doesn't this successfully add the image to the tab? |
|
SnoopDawg0
Newbie Joined: 03 May 2009 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
I now tried this;
Set TabControl2.Icons = ImageManager.Icons With Me.TabControl2 .PaintManager.ShowIcons = True End With Then it shows the same image for every tab, how can i make each tab have a different image? |
|
SnoopDawg0
Newbie Joined: 03 May 2009 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Never mind i figured it out.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Yes, you need ShowIcons + Set TabControl2.Icons + Set Image index (TabControl.Item(2).Image)
Please use issuetrack for support related questions in future
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |