Me.ColorDialog1.ShowDialog() to change the back and fore color with control, i get every thing except this. Why is my
code window highlighting colordiaog1 when i type....should i declare something can some give me the whole code to change the fore color and the back color of a button during run time with control using this code?
what is colordialog1 by the way? Is it an object? what is it?
is it to do with visual basic i use? mine is microsoft visual basic 2008 express edition. Also guys please tell me if there is any website where i can get tutored visual basic....please
Thank you x_x
i just wanna ask if any one can give me the related function with colordialog(vb.net) and if i can change backcolor of form with it?how?
add a button and a colordialog to the form and type in the following code in the button_click event
If Me.ColorDialog1.ShowDialog = DialogResult.OK Then
Me.BackColor = ColorDialog1.Color
I just wanted to ask, the above code would change the back ground color of the screen, however, I am writing a text editor and thought it would be cool to write up some code so that the user can change the text color like you can in ms word and such, so please tell me if I am wrong but if I changed the second line of the above code to
Me.TextColor = ColorDialog1.Color.
Would that work?
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...
OK, so HostGator for some reason no longer allows gcc/g++ access unless you have a Designated Server account, which is a lot of money to spend just to compile my "Hello World" program. Thus I figured I'd compile at home, then upload. Program is your regular old bare-bones Hello World ...