157 Topics
|
|
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 … |
|
Hello All, Just looking for code snippets to remove color from jpg image. I would like to remove red, blue, green from a picture, leaving black and white. For instance, imagine a newspaper cartoon with an "X" on the picture. I want to remove the colors leaving the "X". I'd … |
|
Dim table As DataTable = New DataTable table.Columns.Clear() Chart1.DataSource = Nothing Chart1.Series.Clear() table.Columns.Add("Color", GetType(System.String)) table.Columns.Add("Data", GetType(System.Int32)) table.Rows.Add("Green", Integer.Parse(txtgreen.Text)) table.Rows.Add("Red", Integer.Parse(txtred.Text)) table.Rows.Add("Blue", Integer.Parse(txtblue.Text)) table.Rows.Add("Yellow", Integer.Parse(txtyellow.Text)) table.Rows.Add("Brown", Integer.Parse(txtnothing.Text)) Dim IEtable = CType(table, System.ComponentModel.IListSource).GetList Chart1.DataBindTable(IEtable, "Color") Chart1.DataBindTable(IEtable, "Data") |
|
Demonstrates the Right Hand Rule maze solving algorithm, with some sweet console colors and text display and erasing, in Windows. Note that if the Start is moved away from all the walls in the maze, the right hand rule fails, circling endlessly. Also, a similar failure happens if the Start … |
|
Hi guys, I am trying to change color of the existing items in my listbox. Can somebody please help? |
|
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 |
|
I use image component to display a picture for JPG,but it is lost a color.why I never meet this. I can't to upload picture to this forum. |
|
So working on something and it is running on asp.net so this page is refreshing a lot. It has numbers in a textbox that have been counted and keep changing all day long. What I want to so the textbox witht he highest number is turned green. int[] MyNumbers = … |
|
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 … |
|
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.??, … |
|
I need to make that when you use a color picker the hover styling would work too. So far I've only got background and border bottom working here is the code below (uses JQuery): var customElements2 ="#search .submit_input, .reputation.positive, .members li.positive"; var customElements = ".maintitle, #community_app_menu > li.active > a, … |
|
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, … |
|
This is another useful script I came across. It prints a color-code chart in your terminal. It can help you find the color-code you are looking for, or view the current color-scheme you are using (people use it on reddit/r/unixporn to show off their system's theme, I use it to … |
|
i wanted my program to show up in a Jframe the code reads the pixel color i want the frame to display red= pixel color blue= pixel color and green= pixel color and how would you make the background color of the frame change according the mouse movement for example … |
|
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 … |
|
I am trying to have my .js file have a function that will change the color of the text within the div tag named "ID=test". I have the function (below), but I think I am missing something. I have three buttons in my HTML (red, blue, and black) that should … |
|
I want to let user to choose the colour of the border, the background and the background image. How can I do that? What I want is like the user choose blue from a dropdown list then this code below will change to the relative colour and image. .ui-widget-header { … |
|
I have a h file with this code: #include <windows.h> #include <iostream> struct Color { int color; Color(int color_): color(color_) {} Color operator + (const Color & other) const { return Color(this->color | other.color); } }; #define FORE_LIGHT(color) const Color cfl##color##_ = FOREGROUND_##color | FOREGROUND_INTENSITY; #define BACK_LIGHT(color) const Color cbl##color##_ … |
|
Hello, I have been trying everyhting and I still have not gotten any good results for my cholor sheme. I need the scheme to go well with yellow, green, and red. I know random colors that dont really go well together. But Ive tried black but it makes my site … |
|
does anyone know how to code to get colorful bouncing balls like in google blog http://googleblog.blogspot.in/ |
|
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. … |
|
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 … |
|
HI! I want to write a constructor that will make a window (a frame). I want to be able to insert the height, width, position and window color. This is what I've written: public Window(String name, int height, int width,String c,String isActive,int PointX, int PointY){ setTitle(name); setSize(height,width); getContentPane().setBackground(Color.c); setLocation(PointX,PointY); setVisible(isActive.equals("active")); … |
|
A colorful look at the PySide GUI toolkit and its QPainter class and methods. Well commented and demonstrated with the drawing of a number of rectangles and the different ways to apply colors. |
|
Hello. How do i make a flood fill in python? For exampel. I choose to download this picture of world countries. I save this as picture.png in a folder. The folder also contains a python file whith the name change.py. The change.py file is gonna change USA to yellow. To … |
|
I need to remove a certain color, like for example, 0xFFFFFF (Color.White) would remove all the white in an image. Thanks :) |
|
I need graph coloring code in C# using four color mapping can any one help me? |
|
hi guys, i was wondering if anyone knew how to make a color wheel in python using turtle. i'v searched all over the web to see examples but haven't had any luck. i am a beginner programmer and it's very confusing to say the least so any explanations would be … |
|
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... |
|
Method onPaint does not change the color. Does anyone know why? (there are no errors received) # explore the wxChoice widget # a simple ComboBox (dropdown box) that combines a ListBox with an EditBox # can't get the self.onPaint method to work!!!!! import wx ID_CHOICE = 120 ID_PANEL = 130 … |
The End.