![]() |
|
[.NET] [TUT] Putting images onto the tabs [TUT] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [TUT] Putting images onto the tabs [TUT] (/showthread.php?tid=1346660) |
[TUT] Putting images onto the tabs [TUT] - Ousom - Jun 3, 2011 First post :P Open Visual Basic/Studio > New Project... and add an ImageList component onto your form. Add the images which is accomplished through the Choose Images dialog of the ImageList control. Now select your Tab Control go to Properties and point the ImageList property to the imagelist control that you added: ![]() You now need to go to each individual TabPage and set eithe the ImageIndex or ImageKey property to be one of the images in the ImageList: ![]() This is what you will get: ![]() * - SavageBoys - Jun 3, 2011 I recommend uploading your images to www.imgur.com and using the direct link. * - ra1d - Jun 3, 2011 Please do not use [censored], the pictures will get deleted later. * - Ousom - Jun 3, 2011 Thanks, I just changed to Imgur :) |