157 Topics

Member Avatar for
Member Avatar for JohnNoob

Hi all, I am writing a plug-in for imageJ on java. I have an image to edit, and the image is an 8-bit grayscale image. I need to make the white pixels (255) in the image to red pixels. Meaning, I have to convert the picture to a 24-bit RGB. …

0
87
Member Avatar for andrewliu

Hello, I'm having trying implementing this... I have a menu that drops down using jquery when a mouse hovers over it. I want to be able to set a background color on the link so when the mouse moves to the sub menus, the user will remember that the submenu …

Member Avatar for Bestwebdesign
0
195
Member Avatar for Sunshineserene

Hi all. I'm having a problem to represent or use a variable as an int. [CODE]Color c = new Color(255, 0, 0); int y = c.getRGB(); for (int v = 0; v < h; v++) { for (int u = 0; u < w; u++) { int x = image.get(u, …

Member Avatar for masijade
0
137
Member Avatar for ak24

Hello... I want to change the TextBox border color if certain event is true. For example, in a GroupBox, there is a TextBox and a Button. If the TextBox is empty, and I click the button, I want the TextBox border color to change to red. If the TextBox is …

Member Avatar for ak24
0
5K
Member Avatar for sirlink99

is there an option where you can opt out a certain color (green, red, blue, etc.) and replace it with a different picture. lets say I had a stick figure with a blue background and I had a mountain as a background image would there be a way to take …

Member Avatar for pbl
0
136
Member Avatar for mrbungle

Lets see if I can explain- I have a text box (rich text box) in a form. Inside the box, some data gets put in there- specifically insurance information. Normally, the box doesn't need to change color to alert the user there's a problem with the text that's inside, because …

Member Avatar for mrbungle
0
753
Member Avatar for CharliePrynn

Hey, I have this code [CODE]Public Class Form1 Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Integer, ByVal dx As Integer, ByVal dy As Integer, ByVal cButtons As Integer, ByVal dwExtraInfo As Integer) Private Const MOUSEEVENTF_MOVE As Integer = &H1 ' mouse move Private Const MOUSEEVENTF_LEFTDOWN As Integer = …

0
147
Member Avatar for EAnder
Member Avatar for Kniggles

anyone know how to make the colour text box w2 change to a random colour when button clicked please ? [CODE] </html> <FORM NAME = frmOne> StartA X: <INPUT TYPE = Text NAME = x SIZE = 5 value ="0"> Two B Y: <INPUT TYPE = Text NAME = y …

Member Avatar for ko ko
0
192
Member Avatar for Jordian

Hey guys, I cannot for the life of me figure this out. For some reason the footer and the header won't match in terms of color. I think it has something to do with the wrapper, but seriously this is annoying. They just won't match up, no matter what I …

Member Avatar for macgurl70
0
162
Member Avatar for sirlink99

I have an error when I add in another ball. The colors are the same how would it be possible to change the colors of the balls seperately when they are on the same screen. When I added the other ball in when one hit the edge the second one …

Member Avatar for Ezzaral
0
198
Member Avatar for jackparsana

Hi, Please help me tod this.. how can i change Overriding The Default Text color in IE browser? I can change in ff, and Safari. but Not in this.. help me. thanks in advance. jack.

Member Avatar for Borzoi
0
158
Member Avatar for bella422316

How do you change the color background in a textbox form when you hover over it in html code and when you are not hovering over changes back to the default? here is html code how can i have email address' textbox background to change color when it is hovered …

Member Avatar for drjohn
0
182
Member Avatar for SergeantJoKer

Hey everyone. I could use some serious help with a Java method that I have to construct for my CMIS class. Basically, I have to develop a static method that has two arrays in it, one a String array that has values of colors; the other, a Color array that …

Member Avatar for NormR1
0
179
Member Avatar for s.naroith

I have a problem with c++. I want to change text colour in C++ without using cprintf in <conio.h>. Can you help me to chang txtcolor by using cout or other c++.

Member Avatar for Nick Evan
0
117
Member Avatar for NH1

Im trying to change the color of a row when the value of one of my columns is changed to [icode]Terminated[/icode]. for example when an employee is termiated i want the color of his record to be red. this is the code i have so far. [code=c] foreach (DataRow dr …

Member Avatar for Geekitygeek
0
288
Member Avatar for vmahe

Hi experts, I have a requirement to change the background color of I Frame tag with respect to parent 's bg color. can you provide me the snippet for this. when iframe is opening if open's with white background color. i changed IFrame color with allow transparency ="true" its working …

Member Avatar for almostbob
0
149
Member Avatar for embooglement

I am building a simple script editor which I want to function like Notepad, but highlight the scripting language's keywords blue and comments green, like what most IDE's do. I've got my application to essentially match Notepad using the built in EDIT window's class name, but I cannot get specific …

0
82
Member Avatar for kate2mba

Hello all I am very very new to programming & Python. My problem is I cannot figure out how to create a line consisting of random colored pixels. I know how to create a white or red line but how to make the colors random is beyond me. This is …

Member Avatar for Beat_Slayer
0
109
Member Avatar for Dingbats

Hello Everyone, my first post - so please don't shoot me if it goes wrong! I'd been looking for this for some time now and have seen a number of related queries but no solutions. I cannot take credit for the whole code here, but I did adapt it to …

0
498
Member Avatar for moroshko

Hello ! Why the following fallback for IE [icode]color: red;[/icode] does not work ? In IE7, the color is black rather than red. [URL="http://jsfiddle.net/JryG2/1/"]Live demo here[/URL] HTML: [code] <div> <span>Hello</span> </div> [/code] CSS: [code] div { width: 200px; height: 100px; background-color: blue; text-align: center; } span { font-size: 2em; color: …

Member Avatar for macgurl70
0
121
Member Avatar for an00p

Hello friends, I have a php page that displays data from a mysql DB. Fields are 1. Username 2. Designation etc... I want to list usernames in a listbox. I know thats not a tough job but I want to give different colors (or background color) to usernames with different …

Member Avatar for an00p
0
177
Member Avatar for Graphix

Hello everybody, I am currently developping a GUI interface game for windows XP. I am currently having difficulty changing the background of a EDIT box created with CreateWindowEx(). It's default background is white (which is the color I want). But the user is not supposed to be able to adjust …

Member Avatar for gashtio
0
4K
Member Avatar for smkdude

Hello, I am in the process of writing a board game, and part of that game involves having a user click on a hexagonal tile, and when they do and certain conditions are met, the tile should change color to match the player's color. Below is a sample program which …

0
86
Member Avatar for Pleasant Day

Hi, I'm a beginner with html and javascript, so I try and edit other peoples free codes, Ive got some input boxes and I want to change the colour of them, they are the default white, I want them transparent, there is no code I can see that says its …

Member Avatar for Pleasant Day
0
408
Member Avatar for lukegw

Everytime btnSendClick is execute, 2 messages will be added to the rich edit. The first needs to be of fixed values (BOLD, size 8 etc) The second needs to be changable by the user using a FontDialog box. This is my below code, but it doesnt quite work, it pretty …

Member Avatar for lukegw
0
187
Member Avatar for xfrolox

Well i want to make my prog more pro so is boardless and it has custom buttons like close - minimize and option btn i made that option btn so it appears another form boardless with options but you can see completely the first form. i want like when i …

Member Avatar for xfrolox
0
134
Member Avatar for Virux

Okay. I have been seriously struggling with this lately. I've searched and searched forever. The closest I found was this thread here: [url]http://72.5.124.102/thread.jspa?messageID=1662301[/url] What I am trying to acheive: I want to give my interface grayscale images for icons(png), and have a filter class that can color the grayscale images …

0
156
Member Avatar for amylyn7

I need to write a program that displays a single character in all possible combination of foreground and background [U][COLOR="Green"][COLOR="Red"]colors [/COLOR][/COLOR][/U](16x16 = 256). The colors are numbered from 0 to 15, so use a [COLOR="Red"]nested loop[/COLOR] to generate all possible combinations. The character to be displayed should be obtained from …

0
80
Member Avatar for Benjip

I'm stumped with a somewhat complicated 'lookup table' situation. I've tried many different methods to output the data I need (and in the order I need it) but I think I'm just going around in circles. Basically I'm trying to output a <select> dropdown form element, with serveral different <options> …

Member Avatar for darkagn
0
247

The End.