Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




MSChart Background Color


Hi

I am using MSchart in visual basic 6. how can i change the background color of MSChart?

Thank you




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
MSChart Control: Changing Background Color?
Evening all,

What is the property to set the background color for the MSChart control?

I've tried Chart.Plot.Backdrop.Fill.Brush.Fillcolor.Set 0,0,0

but to no avail

Msg Box; How Do I Change The Font Color And Background Color
I want a message box to pop up whenever someone opens a file. Further, I want to change the fill colors from grey and blue to something else, and I want to change the color of the fonts. Any suggestions?

MsgBox With Background Color And Button Color
How do i do make backcolor light red and commandbutton red for a msgbox.

Mschart Color
I'm using a 3D "circle" chart
How can I specify a color for each "sector" of that "circle" ?
I can't find the correct property.

MSChart Color
I need to make the color of the chart different from the color of the form I putting it on ( I am placing it in a picture box)


Thanks guys.

Also I need to change the color of the line I am drawing.

Thankx

How Can I Color A Row In MSChart In VB?
Is there a way to color the background of a whole row in MSChart? Or make it colored vertically? I have a big chart (5000) rows and i would like to indicate only few rows with vertical colored line. Is it possible with MSChart?

the code i have colored the whole line (or sires)
MSChart1.Plot.SeriesCollection.Item(2).DataPoints.Item(-1).Brush.Style = VtBrushStyleHatched
MSChart1..Plot.SeriesCollection.Item(2).DataPoints.Item(-1).Brush.FillColor.Set 0, 255, 255
MSChart1..Plot.SeriesCollection.Item(2).DataPoints.Item(-1).Marker.Visible = True

I need to color only part of the line, just few rows out from the whole data.

Thanks.

MSChart Line Color
I am using a MSChart control to produce a 2D line graph with 2 lines plotted simultaneously. What I would like to be able to do is change the colour of one line between certain points. Having played around using intellisense for the last couple of hours I can't.
Thanks in advance for any help.

Help On MsChart Color Setting
I'm drawing a 2Dline Chart uisng VB6.
I can change the line's color using the
RGB color. But When I want to change to system color,
it gives me Black color instead!
My code:

MSChart1.Plot.SeriesCollection(1).Pen.VtColor.Set _
(&HFF& And &H8000000), _
(&HFF00& And &H8000000) 256, _
(&HFF0000 And &H8000000)65536


&H8000000 is my form's backcolor.

I want the line's color same as my form's color.

Thanks For any help.

Color Of Curves With MSChart
How can I define the ploting color of a serie in MSChart ?

Multiple Color On MSChart?
HI All,

I have a MSChart. There are 20 items with values ranging from 0-20. So on my chart, on the x_axis is the item number from 1-20, on the Y-Axis is the VALUES from 0 to 20.

Questions:
On the Chart, Can I have multiple colors?

Example:
If value<1 then chart bar=RED
if 1<Value<4 then chart bar=Yellow
if value>4 then chart bar=blue.

Is this possible to do?

Thanks,

Color Of MSChart Plot
I want to use a simple Bar Line chart and set the colour of the columns but I can not seem to get to this. I basically only want one column of data plotted and to be able to change the colour of the bar from the default Red to what ever at run time.

The background colour is settable via
Chart.Backdrop.Fill.Brush.FillColor.Red = xxx

but I can't seem to find the plot colour (even trying the plot values)

Thanks

DS

Background Color
Ok well I'm a retard. Hi. And I'd like to know how you can change the background color of a form, to a normal standard color. Other than the ones on the properties page like, "Active Window Highlight" and "Desktop" and stuff like that.

How about a nice solid blue eh?

Justin

Background Color.
I have searched for this but only found a topic for command buttons.

I would like to know if there was a way to change the background color(or appearence) of my program's menu. Why I'm asking is this...I want my program to have a white background..but the menu at the top's color is grey and indented inward....it looks like crap..is there a way to change the graphic of the menu or, to make things easier...make the menu pop out instead of in? Thanks!

And sorry if there was a topic like this, I tried my best to find it but I couldn't. Thanks!

The Color Of The Background
how to calcualte on the background color into number? like
what i know
vbBlue = 16711680
what does it mean by the 8 digits here, how to get this, is not calculate according to hex decimal, but hex decimal only contain 6 digit.....please help.thanks

Background Color
Hi all,

Can anyone tell me how to change the background color of Command Button in Visual Basic?

Seelan

Tab Background Color In VB
Hi,
Can we change the Total Back Gorund color of the Selected tab in SSTab control from the boring gray to any RGB color?

VB Background Color
Question, I am kind of confused. my programs look fine on my computer but when I load them on other machines the backgrounds on certain labels are all different colors and on some the colors that "I put on mine" do not show? any Ideas.. what am I doing wrong?

thanks

MDI Background Color
Morning all,

How do I set the Background Color on my MDI form? I want the color to be green and I am using VB.net.

Thanks in advance

Background Color
I need to create a image that matches background color of a form

But the forms background color is not given in RGB format
eg &H8000000F&

How to convert this to RGB format ??

Best Background Color?
What is the best conventional background color to use for forms within VB or does it depend? I know the default is grey but the other variations and options seem too bright or striking!

Thanks.

Background Color
i have a specific color, in the RGB or hex code that i want to use. How do i specify this color for the background of one of my forms. I want it to be exactly this color...

Also, how do i open a new form?
i thought it was "Show Form2" but i guess it's not...

Background Color
Hi everyone, happy holiday.

How do I get background color of the rows on a Flex Grid to alternate
between white, and oh let's say, light blue.

Fadi.

Background Color
Hello,

How i can change background color of the MDI form on runtime?
It should show me colors to select from...and MDI back color should be changed whatever color i select.

Can anyone have any example?

Thanks,
Zubair

Change Color Of MSChart Column?
Hi,
Has anybody got any idea on how to change the color of a column in an MSChart graph in runtime (not designtime!).

Thanks in advance

Shaun

Background Color Windows
It need to take the background color of any window class

Already I tried with getbkcolor api function
but with some window it does not work , return color vbwhite

How can I do?

Thanks...

.Print Background Color?
is it possible to have a background color when using the .Print command on a picture box? Heres an example of what im trying to work with:

picWhiteBar.CurrentX = 14
picWhiteBar.CurrentY = 28
picWhiteBar.Print Nickname '(Nickname is a string)

But...What i need is a yellow background behind what .Print displays. Is there any way of achieving this effect? I suppose whatever it is, it would go right before printing Nickname, so it gives the effect of it being behind the string. Please, any help would be appreciated.

SSTab Background Color
Hello, I was wondering is there is a fast way to change the background color on tabs in the SStab control, I looked at the sub-classing project Garrett Sever made, but its extremly slow when you have large tabs, so I was wondering if there is a way to speed that code up, or if there might be different way.

Background Color For A Datagrid
I can easily change the background color of a mshflexgrid (from properies window).

But how can I change the background color for a datagrid.

I am not talking about cell color but the whole control.

I hope someone can help me with this!!

Thank you.

Excel Background Color
Is it possible for me to get a macro to look
at a cell and change the background color of the row based on whether or not
the cell is blank? I'm guessing that this can be done, but would require
some tinkering with if/then statements in visual basic. I can't remember
the correct punctuation for programming in basic, so I haven't been
successful. Any ideas?

How To Change Background Color.....
hi ....I have set of values that I have to find numbers belongs to various group in each row like for ie.

10 20 30 40
20 30 40 50
11 13 24 40

for each row I need to find number grater than 10 and paint the back ground color in some color...likewise
fine number >20 and another color and so on...please help me on this.....

udara

Background Color On Laptop
Hi Group,

I have an application that is working fine on PC.

But, I just loaded it on my laptop and the background color is black, which is making it look very unpleasent. It is meant to be white, and is on the PC.

Any ideas what might be going on? I have of course set background color to white, at least I am of the impression I have.

Any help most appreciated.

Thanks in advance.

Regards
jeff

How To Add A Background Color In A Toolbar?
How to add a background or a bitmap as background in a toolbar?
Thanks?

CommandBars Background Color
I copied the following code off of a website and modified it to suit my purposes. Is there a line I can add to change the background color of the buttons?


Code:
Sub CreateVendorCommandBar()
'creates the custom commandbar VendorCommandBar

'declare variables
Dim cb As CommandBar, cc As CommandBarButton

'in case it already exists
DeleteVendorCommandBar

'create a new temporary commandbar
Set cb = Application.CommandBars.Add _
(VendorCommandBar, msoBarTop, False, True)

With cb

'place the toolbar at the right edge of the "Standard" toolbar
.Left = Application.CommandBars("Standard").Width
.RowIndex = Application.CommandBars("Standard").RowIndex
'add a new text button
Set cc = cb.Controls.Add(msoControlButton, , , , True)
With cc
.Caption = "New Project"
.OnAction = "'" & ThisWorkbook.Name & "'!Add"
.TooltipText = "Insert new project"
.Style = msoButtonCaption
End With

End With

End Sub

Set Background Color For Calendar
Hello,

In VB, how do you set the back color of certain dates ?
Example:
I am off on 26,27, and 28 of February. I want the calendar to hightlight those 3 days in Yellow. How can I do that?

If we can't do that, is there a way that we can put a yellow bar across those dates like MS Project calendar?

Please help.
Thanks
Pal

Background Color MshFlexGrid
hi!
i have a problem i charge one table from a db to a mshFlexGrid so i must color same rows with same color. How i can do?
please help me. thanks!!

How To Change Background Color
hello, how to change "CommandButtom" Background Color,
I feel only gray color, if change to "Red/Yellow" color , is oke changed?

many thanks!

MsgBox Background Color
Can the MsgBox background color and button colors be changed in vb6?

RichTextBox Background Color?
Is there any way to change the background color of the selection in a RichTextBox?

(See attached file)

Msgbox Background Color
Hello Friends.

My intention is to change background color of all Msgboxes (class #32770) SYSTEM-WIDE!!

(without having to change my system settings)

It is possible to change it within an application (see URL below) but how can it be done for foreign applications??

http://www.elitevb.com/content/01,0062,01

Any ideas welcome!

Thanks & Regards
Sanjay.

ComboBox Background Color
What is the simplest method using the API to make a multicolor drop down combo list. e.g For every item in a combobox it's background color is different.

I have loads of references to searching,sizing e.t.c but none to the above

Thankx in advance

How To Color Listbox Background
if i got a lisbox with items:
A
B
C
D
E
F

how to make the A, C, E background to be colored with red while B,D anf F background color with white

Changing Background Color
hello

I have a question

I tried to change the backcolor of my forum.

I write to the register and then i read it out of the register.

But when i say:

form1.backcolor = binkleur (binkleur has the value of the color i read out register) it does not work.

But if i put the value that is in the register like this:
form1.backcolor = &HFF& (is the red color) then it works fine....

i tried everthing and i have no idea anymore.
putting binkleur in a textbox and say backcolor = text2.text is not working to... same problem

someone can help me??
tnx

Tabstrip Background Color
Is there a way to change the "tab" background color of a tabstrip control? (see image)

DataGrid Background Color
Is there anyway to make the background color of my datagrid red.?

Detecting Background Color
Hi

i having a serious problem.

when my transprent image displayed in backgrounds other than white color
it shows a sharp edge.coz i have use 50% Gray for the edges.


VB Code:
SetLayeredWindowAttributes Form1.hwnd, RGB(128, 128, 128), 128, LWA_COLORKEY


so current solution i have to overcome the graphic edge problem in white backgrounds is to display a copy of the original image with a diffrent edge that shows sharp edges in white backgrounds.

So now what technique i can use to detect the background color the image is currently displayed.
so using this technique i can continuesly monitor the background color with the help of a timer and i can interchange the image displays.

Changing Color Of Background
Hi. Could you guys help me in changing the color of a background? For example, combo1.backcolor = "Color". I was wondering what values should i place? Could you please give me a sample code?

Ecel Background Color
Is it possible for me to get a macro to look
at a cell and change the background color of the row based on whether or not
the cell is blank? I'm guessing that this can be done, but would require
some tinkering with if/then statements in visual basic. I can't remember
the correct punctuation for programming in basic, so I haven't been
successful. Any ideas?

Toolbar Background Color
How can i set a toolbar background color the same with the form color.
I use a image list with backcolor -- &H00D8E9EC&
and maskcolor &H00D8E9EC& to

the forms background color is the same.
Thanks!

Form Background Color
I'm trying to set the back color of my form to "#005B9A". It looks like VB colors are hexadecimal or something like that. How can I convert my color to the correct VB color?

Copyright © 2005-08 www.BigResource.com, All rights reserved