But Why..... Any one know
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts
Page 1 of 1
Hi Added this code to my project a while ago and it works fine but for some reason it has stoped working and it is for one of the most important parts of the project anyone know why its not working I don't get any errors just does not add the controls
Code: Select all
is suppose to add all the itms of a listbox to a toolstrip menu it works one by one adding them with the button but :P not all the items please someone help me :P Dim btnTop As Integer = 0
For i As Integer = 0 To Faves.Items.Count - 1
Dim favebtn As ToolStripButton
favebtn.Text = Faves.Items(i).ToString()
favebtn.ForeColor = Color.White
ToolStrip1.Items.Add(favebtn)
AddHandler favebtn.Click, AddressOf btnclicked
int = int + 1
btnTop += 30
Next
Hi try to do
Code: Select all
Dim favebutton As New ToolStripButton
CodenStuff wrote:Nope, it's just your sick and dirty mind. You sick twisted warped little pervo![]()
#visioncrO Thanks soo mutch haha I did not think of that retard moment for me there :p
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023