51 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Aeonix
Member Avatar for gentlemedia
0
321
Member Avatar for vegaseat
Member Avatar for rockingjohncart
0
333
Member Avatar for network18

There's trouble in using font awesome icons as they suggest, so I am using them as below - <i class="nimg nicon-ico_help_rnd_lg" style='color: #FFFFFF !important;' alt="Info" title="Color code information" onclick="info()"></i> and style below - .nimg { height: 37px; width: 37px; float: left; /*display: table-cell;*/ display: block; text-indent: -9999px; vertical-align: middle; /*border:1px …

Member Avatar for anandvaishnav
0
984
Member Avatar for theashman88

Hi I got a quick question. Is there any way i can change the background color and the text color within my compiler of dev-c++. I'm not trying to change the color of the output when I run the program, I'm talking about the actual code itself and its compiler. …

Member Avatar for nullptr
0
6K
Member Avatar for Yogesh_5

vb color commondialog box return color if i am selecting cancel in color dialog box.how we can handle this. commondlg.showcolor lblcolor.forecolor=commondlg.color

Member Avatar for Yogesh_5
0
285
Member Avatar for CoilFyzx

Howdy-ho. I am trying to right click on my table and change the cell border color and highlight color of that cell. I have figure out how to give that particular cell focus when I right click it by using int row = fixed.rowAtPoint(evt.getPoint()); int col = fixed.columnAtPoint(evt.getPoint()); fixed.changeSelection(row, col, …

Member Avatar for mKorbel
0
670
Member Avatar for Pobunjenik

I've got a JTable called chances_T full of doubles ranging from 0 to 100. I'm trying to set the background color of each cell based on the cell's value. So I built a custom cell renderer: class CustomRenderer extends DefaultTableCellRenderer { @Override public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, …

Member Avatar for mKorbel
0
451
Member Avatar for CJMW

Wassup. I'm writing an application for web development. I have run into an issue and can't seem to overcome it. I have a button within the application that upon being clicked, will create a new tab that contains a rich text box. This new tab can then be used to …

Member Avatar for Fenrir()
0
332
Member Avatar for yuvjeeth

Hi Everyone, I would like to know if there is any way to change the color of a part of text in rich textbox when the user types it automatically like the way in vb.net IDE (Classes have blue etc.). Thanks in advance, Yuvjeeth

Member Avatar for ddanbe
0
423
Member Avatar for timetraveller1992

Here's my code >> [Click Here](https://dl.dropboxusercontent.com/u/21617707/accordion.rar) And here's an image showing the problem! >> [Click Here](http://i41.tinypic.com/4id7dc.png) Rest is self explainatory. I used the same code in IE and the problem didn't occur. I haven't tried Firefox. The problem is most people seem to use Chrome these days and thats why …

Member Avatar for timetraveller1992
0
244
Member Avatar for o Chantelle o

Hi guys. I'm stuck. How can I use a custom color (rgb 25, 25, 25)(for example) as my fill rectangle color instead of the default blue? 'Private Sub ListBox10_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles ListBox10.DrawItem ' e.DrawBackground() ' If (e.State And DrawItemState.Selected) = DrawItemState.Selected Then ' e.Graphics.FillRectangle(Color.??, …

Member Avatar for o Chantelle o
0
2K
Member Avatar for 26bm

Hi, I wrote some code using pygame that has two images. I am trying to figure out how transparency works, so I have tried to display a circle png on a square png. My code looks like this. import pygame from pygame.locals import * #make window pygame.init() screen = pygame.display.set_mode((1270, …

Member Avatar for 26bm
0
588
Member Avatar for Hazuan Nazri

Hello Friend, i hope someone can help me to solve my problem, i already put my database on datagridview, but my boss dont want it in standard color, so now i dont now how to change it, can i change the color using datagridview or i need to use another …

Member Avatar for Hazuan Nazri
0
424
Member Avatar for ramy.merc

Hi programmers, I am a c# programmer but I have a very big project in C++ (Which I am not familiar with) and I am facing a big problem. As part of the project, I need to convert the image (any image of any type bmp,jpeg,png...etc) to grayscale using openMP. …

Member Avatar for Moschops
0
2K
Member Avatar for Hendo

Hello all, I'm trying to have a multi-colored border for a generated table on my website. The table is a 2 column, 18 row table, and I want the top 6 rows to be bordered in green (or cell shading in green), while the rest of the table uses the …

Member Avatar for Hendo
1
229
Member Avatar for jemz

Hi can you help me please how can i change the color of progressbar or just look like in windows xp progress bar...please help me...thank you in advance hoping for your positive responds...

Member Avatar for Samanta Goutam
0
8K
Member Avatar for ddanbe

Hi all, I know I can make a color lighter programatically, by augmenting some of the RGB values. But is there a standard way to do so or is it just trial and error? And why is a blue component needed to make orange lighter? Perhaps C# .NET has some …

Member Avatar for pvladov
0
1K
Member Avatar for Dino000

I get a stackoverflow exception on following commented line. namespace Football_Manager_WFA { public partial class Settings : Form { Color def_bgdColor = SystemColors.Control; Color def_fontColor = Color.Black; // ERROR static FontFamily fontFamily = FontFamily.GenericSansSerif; Font def_fontType = new Font(fontFamily, 8.0f); } }

Member Avatar for Dino000
0
206
Member Avatar for grh1107

Hey, I'm trying to change the color of a textbox border say if a value returned false. private void UserBox_TextChanged(object sender, EventArgs e) { ControlPaint.DrawBorder(e.Graphics, this.ClientRectangle, Color.Red, ButtonBorderStyle.Solid); } } the problem is EventArgs e doesnt have a graphics member, EventArgs should be a PaintEventArgs, but when i change its …

Member Avatar for grh1107
0
184
Member Avatar for PhilEaton

I am trying to check for the background of an element, here is my code. But it doesn't work: I tried two ways, here is the first: function changeColor(field) { if(field.css('background-color','#ffb100')) { field.css('background-color','white'); } else { field.css('background-color','ffb100'); } } here is the second: function changeColor(field) { if(field.css('background-color') === '#ffb100') { …

Member Avatar for Taywin
0
267
Member Avatar for trishtren

Hey, i googled around for a solution but seem unable to come up with a reasonable solution to the problem of passing a class as a parameter. I wish to mimic the syntax used in java like below : setPenColor(new Color(255, 0, 255)); Where i can pass a new object …

Member Avatar for JamesCherrill
0
203
Member Avatar for c#_fem

Hi, I'm developing a XNA Windows Game 4.0, and I keep getting this error: The type or namespace name 'Color' does not exist in the namespace 'Microsoft.Xna.Framework.Graphics' (are you missing an assembly reference?) I can't seem to find the answer for this, can anyone help? Thanks EDIT: Solved it color …

0
217
Member Avatar for lfmconsummates

I'm trying to have HTML generate random background colors using Python. What I have so far is: `print "<body bgcolor='%s'>" % choice` what python code should follow?

Member Avatar for prerakmody
0
379
Member Avatar for Sturdy

Hi all, How i changing the color of label caption dynamically, so it looks like highlight text changing color. Thank you.

Member Avatar for Sturdy
0
237
Member Avatar for zacharysr

Im building a control panel on my website to cover a bunch of stuff for my website. It makes viewing each member and video, website etc alot easier. But im building a table for my members. And i have it layed out pretty good. but there's one issue. When you …

Member Avatar for weekendrockstar
0
300
Member Avatar for M.Waqas Aslam

Hello Every One ! i was using my code [CODE]textbox1.bgcolor = ___colorname___[/CODE] on the gotfoucs event of my textbox , but if i have 34 textboxes then i have to write this line 34 times , which cost lots of time , can any one help me to make any …

Member Avatar for Reverend Jim
0
197
Member Avatar for nsyncpilu

Hy , I have a table , in which i am adding new rows , after 6 rows with data I want to add a empty row with the background color red then another 6 rows with white background [CODE]private void populate(){ DefaultTableModel model = (DefaultTableModel) table.getModel(); int i,j; for(j=0;j<6;j++){ …

Member Avatar for nsyncpilu
0
1K
Member Avatar for carmstr4

Hey guys, Is it possible to change the color of characters in a list if they do/dont meet certain conditions? So here's my code: [CODE]def checkWord(real, guess, remReal, remGuess, wrongSpot): # Format the letters so user knows whats wrong/right fullWord= real # Create copy list of real word realWord= list(fullWord) …

Member Avatar for carmstr4
0
1K
Member Avatar for calebcook
Member Avatar for Zssffssz

Ok how do I change the texts color without changing all the couts to printfs and without using system("color hex")

Member Avatar for Narue
0
201

The End.