How to remove blue background color around button in windows phone 8.1 - windows-phone-8.1

I am developing app for windows phone 8.1, I have used some buttons with red background color in my app.
Blue background color coming while clicking on button.
I'd like to remove blue background color of button in windows phone
This background color coming when I click on the button.
How to do this?

That blue color is probably the default themecolor of the phone.So to change that right click on the button on designer and edit the copy and change the background value for the button in pressed state to whatever you want. Hope this helps!

Add following line in you app.xaml file
<Application.Resources>
<SolidColorBrush x:Key="ButtonPressedForegroundThemeBrush" Color="Transparent" />
</Application.Resources>

Related

Toggle text color when button is clicked

I have an array of buttons with text on top of each. These buttons were created in the library and imported to the stage using as3. When I click on each button the text turns green. I want to change the color back to black when I click on another button in the array. How do I do this? Thanks in advance.

How to determine the color html code of a region in an image

Is there a way to determine the html code of the color of a section in an image.
In my case I have a logo in png format and I want to know the color's html code of a section in the logo so that the menu items have the same color.
Thank you
These are the steps that worked for me:
open the image in gimp
Make sure the toolbox dialog is visible. If it is not use "Windows -> new Toolbox".
Make sure The colors dialog is visible. If it is not "Windows -> Dockable Dialogs -> Coulours"
Select the eye drop icon in the toolbox dialog (when you hover it it will show this text: Color Picker Tool: Set Coulours from image pixels).
click on the area of the image that you want to get the color code (the code will automatically show at the bottom of the coulors dialog).
If I understand you correctly you wanted to get the color of what you see on your screen. Then perform these steps.
Take a screenshot of what you see and paste it in mspaint.
Then use colour picker from tools menu and click on the place for which you wanted to know the colour.
Then under color menu use edit Colors option.
There in the edit Colors menu in the right side you will get the right color coordinates.
Now use editors like Visual Studio Code to get what you want.
In line with Temani's comment, keep it simple.
For Chrome: Right click anywhere, click "Inspect". If you don't see any colors on the bottom left, click on element.style and type something like color: black;. Then, click on the little black box that appears next to the color and click on your image. color: black; will now become color: #fea43d; or whatever the color you clicked is.
For Firefox: Right click anywhere, click "Inspect Element". If you don't see any colors on the right, click on element and type something like color: black;. Then, click on the little black circle that appears next to the color, click the eyedropper tool on the bottom left of the box that pops up, and click on your image. color: black; will now become color: #fea43d; or whatever the color you clicked is.
For html elements, you can right click on which color you want and
'inspect' it. You can find the color code in CSS.
For images in the pages:
You can install color picker extension/plugin for your browser, in which you just right click and get color code in hex or rgb formats.
OR
Download the image, open it in any photo editors which can read color.
#Karim maybe I can help you with your problem.
Here is the link - https://imagecolorpicker.com, I found yesterday while exploring the internet and I am damn sure that it will definitely help you.
just upload your Image file(or anything which is a screenshot, etc) or any websites URL to below mentioned the website and click on submit button.
Then your image or your uploaded content will appear with all its color details written at the adjacent side. You can click on your image at any pixel(position) and the details of color will be updated for that pixel(position) in HEX, RGB, HSV(HSL)
Here is the [Image] - : https://i.stack.imgur.com/s5elS.png for your reference.
May this will help You.

change button color action script 3

btnPlanet.mouseEnabled = false;
btnPlanet.mouseChildren = false;
i have button and it's called btnPlanet, i want to change button color when they are disabled, but the button contain text, that if i change button color using colorTransform, it make my text dismissed, and filled with color that i use from colorTransform, can i change only color of shape in button without change text color? or make it grayscale at least? thank you, i'm sorry if i have bad grammar english
Apply alpha/colorTransform/whatever to everything EXCEPT text field.
Is it your own button or you're using some kind of component?
If it's your own I bet you have something like background for shape and TextField on top of that.
If it's a component I'm pretty sure you should be able to access it as well.
that's not hard.set instance name of your shape in your button for example myShape. Then write:
btnPlanet.myShape.transform.colorTransform=new ColorTransform(your colortransform settings)

How to change button color and after a delay

When I click the button on my webpage, I'd like that button to change color to red, and after a specific time period, the button has to change to green. This way the visitors can easily see which button is active again so they can click it again and again.
Example: http://www.faucetworld.org/dogerotator.html
When you click the green button on the right side, that button changes the color for a specific time of period and then it become green again.
Assuming you are using javascript, the setTimeout method is what you want

how do I add text to a button?

This should have a really obvious answer but I can't figure it out...
I've made a button in Access 2007 that takes the user to a form (and other buttons that do other things). I've made the button's background an image so that I could have a gradient-style button but I'd also like to have text on top of this. There is text on the button but it gets hidden either because it's just a name given to the button for VB or because the gradient image is being place on top of it...
any ideas?
Access 2010, and Access 2007 supports both text and graphics on buttons.
Eg note the top buttons:
or simply this:
I do believe that transparency in 2010 is better supported, and the options for buttons in 2010 does include shadow and gradient options:
Eg:
I'm not sure how you did set picture as button background. Might be do you mean that you have two independent controls, an image and a button. In this case right click on the image and Position / Send to back. Back style of the button should be Transparent, but Transparent property should be set "No".