Customize A Forms Boarder So That It Has A Different Color / Shape?
Oct 29, 2005Is there a way to customize a forms boarder so that it has a different color, or shape?
View 10 RepliesIs there a way to customize a forms boarder so that it has a different color, or shape?
View 10 RepliesHoe can I customize scrollbar properties (colors and shape)?I need to change its color and shape to make it closer to the Winamp scrollbars.
View 4 RepliesHoe can I customize scrollbar properties (colors and shape) p need to change its color and shape to make it closer to the Winamp scrollbars.
View 16 Repliesa set of color add into combobox
bttnclick
Dim mypen As New Pen(, 2)
base
cbocolor.items.add("Red")
cbocolor.items.add("Green")
how to make the color apply in the pen?? what to put before the coma??
I am trying to create a legend for some colors and thought of adding rectangleshpes to do so. However, I do not seam to be able to set the fill color of the shape.
View 3 RepliesI have been using custom shapes for some time now but the pixels always have to be 100% solid or it mixes with the color I have set as transparent and its starting to get a bit annoying. Is there any way possible that I could take a png image with transparent pixels and use that as my custom shape without the transparent pixels becoming that color I chose? This is what I have: I want to put my image as the background without the purple being where the transparent pixels are.
Me.Backcolor = Color.Purple
Me.Transparencykey = Color.Purple
I need to create an on-screen shape (circle) that has a fill color, which will blink every X seconds (go from fill color, to white, back to fill color). This is trivial to do...BUT... i want to do it in my own class, so that I can instantiate it numerous times passing it unique coordinates for each instantiation.
How do I do it? Can a class have its own "timer control" in it independent from the form? How would I draw a shape from a class?
I want to customize the tab control the tabpage headers shoud fill the tabcontrol header. if there are only two tab pages then the header should be divided into two parts
and give me good info about tabcontrol custonmization for better look and work
I am trying to get a line to expand whilst the user hovers over a specific Label or Button, I thought the best way to do this would be using a however so far I cannot get the process to loop until the user stops hovering over the item.
Public Class Form1
Dim Sec As Integer
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Sec = Sec + 1
[code]....
That is pretty much what I have so far, it works however I have to keep hovering and then exiting the Label for the size to increase. I have tried various loops however most of them just end up in an infinite loop.Just to clarify, I would like the X2 dimension of the Line to increase until the user stops hovering over the form.
How to change a forms background system color schemes to windows default color schemes in vb.net?
View 2 RepliesHow to display picturebox as oval shape.
View 1 RepliesI have got a couple of VB Powerpack Ovalshapes on my Form.I use these for a quick indication if the networked device is online or offline.I can't seem to control the Visible function (or any other function for that matter) one my Background Worker is running.For my Textboxes I used a guide by jmcilhinney which worked great for them but there is no 'Invoke' property for graphics controls.
View 1 RepliesI am using Rack-mounted Equipment (US units).VSS as stencil. I need to Connect a server on Rack.
View 1 Replieshow to get a messagebox appear if the user clicks the "x" button in the upper right corner of a form?
I would like a messagebox that says "Are you sure you would like to exit?" and have a yes / no button....
i have a problem with my program i want to work with 2 color's red and green i want get the red color if the calculated - and green if it is +
[Code]...
I need to create a simple label and when the user clicks the label, the label changes color...sounds easy BUT...if the user moves the mouse cursor away from the label and then clicks the label a second time, then label returns to its original color. I am trying to create a loop to loop through two array indices, but it just doesn't seem to work.
View 2 RepliesI didn't like to make another thread so i decided to ask here, maybe somebody knows how to change calendar day color?
View 3 RepliesI am new to VS 2008.. It is possible to change the progress bar loading color (green) to other color? How to change it?
View 3 RepliesI'm trying to figure out how to change the background color of a combo box for every item in the selection.[code]This method seems to set the whole combo box back color to whatever the last color was.The color does not change per item.
View 2 Repliesim making a currently making a program called BATCH Studio.Theres just one particular part im stuck with which is changing is changing conditions and loop words to another color. Just like how vb changes the IF and FOR to blue and String. Iv managed to come up with this but doesent really work.[code]
View 5 RepliesI am building a data entry form. I have code that runs when the 'submit' button is clicked to check that all required fields are populated; if not, the missing fields are hilighted in red:
Sub validatefields()
saveOK = True
If Trim(Me.cmbBillCat.Text) = "" Then
saveOK = False
Me.cmbBillCat.Appearance.BackColor = Color.Tomato
End If
My problem arises when I want to reset the color back to normal. In my form when you click Cancel or move to a new record, all fields are disabled (set to read only) until the 'Edit' button is clicked. Visually this is represented by the field backgrounds being gray. VB.Net automatically changes the text box/combo boxes backcolor to gray when I disable them. However, once I have explicitly changed a control's backcolor, thereafter disabling it does not change its color to gray.
[Code]...
I have tried changing the backcolor to System.Drawing.SystemColors.Window, but the problem is the same. The control whose color has been changed is disabled (won't accept entry) but the backcolor remains white, no matter how many times DisableFields() is issued.
Below is some code I use to loop through rows in a datagridview and set the row colour subject to a "STATUS" field and also changing font colour and boldness dependant on whether a flag has been set to true.
Is this code optimal / can it be cleaned up somewhat?
Public Sub ColourMyGrid()
Dim varStatus, varBagTemp As Integer
Dim myFont As New Font(grdResults.Font, FontStyle.Bold)
For Each row As DataGridViewRow In Me.grdResults.Rows
varStatus = row.Cells.Item("Status").Value
[Code].....
I wanted to have multiple color for text in single label controller
e.g.
label1.Text = " $ 480.00 "
What I want is character $ in Red color and other digits or character after $ in color blue. $ 480.00 I cannot use separate labels for digits and $ due to limitation
i'm using VB 2010 and i'm trying to make a transparent images but without success .i draw 2 GIF pictures in Photoshop and save it as transparent.i put that GIF's in 2 pictureboxes on the form and the background of the pictures is really transparent, but when i try to put one picture in the top of the other one, the first picture cover the second one with the background color (and becuase it's transparent it's like the form color)
View 2 RepliesI have a grid containing rows flagged with different priorities. I want to color the high priority rows red, low ones blue, etc. I'd like to set the shade based on a mathmatically calculated gradient rather than arbitrarily assigning colors to specific priorities. How can I extract a single color from a single point along gradient?
View 1 RepliesHow can I customize my MP3 alarm? I want to customize the volume level and choosing the next MP3 that will be play.
View 3 RepliesI want more customization then the original VS 2010 set up files. So i decided to code everything. For example, i put all my files in my debug folder into my installer.vb's My.Resources. So i usedSystem.IO.File.WriteAllText ---> to install all my files and the .exe one.Everything was installed it except my Ethup Bolt New Build.exe. It shows up in the folder after installation, but when i click on it, it didnt run at all. (It showed up in the task manger, under process, but it disappeared after like 5secs.) So it didnt
run at all. My question is how do i install my .exe properly. ( I DONT WANT TO USE THE ORIGINAL INSTALLER WITH Visual Studio)
I would like to change just a little bit the outlook of the form's top region in my application (the icon, bar, and controbox), is there any way to accomplish this without using third party components ?, I'd like to have my own Winform control that inherits from Windows.Forms.Form.[url]...
View 6 RepliesWhen I write
ds.Tables(0).TableName = "items"
str = Server.HtmlEncode(ds.GetXml())
Response.Write(str)
I get below:
<NewDataSet> <items> <id>354</id> <name>HAGI</name> </items> ..
I want to take like this
<items>
<item id="" name=""/>
<item id="" name=""/>
</items>
How can I do it?
In VB.NET when I use the WriteXML of DataSet, can I customize it? That is to say; I want to make a structure like this:
[Code]...