157 Topics
|
|
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. … |
|
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 … |
|
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, … |
|
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 … |
|
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 … |
|
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 … |
|
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 = … |
|
Using FPS IDE with FPC compiler on windows xp. |
|
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 … |
|
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 … |
|
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 … |
|
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. |
|
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 … |
|
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 … |
|
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++. |
|
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 … |
|
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 … |
|
|
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 … |
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 … |
|
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 … |
|
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: … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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> … |
The End.