Set Opacity Of Buttons / TextBoxes?

Nov 17, 2009

Is it possible for me to set the opacity of a button or textbox? I know that you can set the opacity for a form, but I'm not so sure about a button or textbox.

View 4 Replies


ADVERTISEMENT

Set The Opacity Of A Form (not Form1) Down To 50% But Leaving The Buttons And TextBoxes At 100% Opacity?

Nov 1, 2011

How can I set the Opasity of a form (not form1) down to 50% but leaving the Buttons and TextBoxes at 100% Opacity?

View 9 Replies

[2008] Make A 100%-opacity-label With 50%-opacity-LabelBackground On A 50%-opacity-form?

Mar 5, 2009

When I set the opacity of a form to 50%, the opacity of a label on that form is also set to 50%, but I do not want so, is there anyway to make a 100%-opacity-label with 50%-opacity-LabelBackground on a 50%-opacity-form?

View 6 Replies

Make The Form's Opacity Match The Opacity At Different Parts Of The Image?

Jan 13, 2007

I have a form with a PNG image as its background image. How can I make the form's opacity match the opacity at different parts of the image? (for example, I have a drop shadow that fades from black to transparent. How do I acheive this effect on a form?)

View 9 Replies

Richtextbox Opacity - Lower The Opacity Of Textbox So Can See The SWF In The Background

Sep 18, 2009

From the visual code requests as you can guess i think a good GUI is very important in an App. What i want is to lower the opacity of my textbox so u can see the SWF in the background, is this possible?

View 3 Replies

Form Opacity = 0% And PictureBox Opacity = 100%

Jul 23, 2009

How can you make a form invisible...but leave the picture box visible?

[Code]...

View 3 Replies

Create The Buttons And Textboxes For 1 Tab?

Feb 16, 2010

Dim tab As Integer = -1
Dim y As Integer = 54
Dim r As Integer = 1

[code]....

Im creating a program that has a dynamic amount of tab pages, however i can only figure out how to create the buttons and textboxes for 1 tab.

TabPage1.Controls.Add(tb)
TabPage1.Controls.Add(b1)

How do i turn that control code into dynamic code that will add the same interface to every single button and textbox?

View 3 Replies

Translate Some Buttons, Textboxes And Labels?

Feb 7, 2010

How can i make my app in a different language, so people can select another language,I need to translate some buttons, textboxes and labels.

View 2 Replies

VS 2008 - Buttons Like On / Off For Different Groups Of Textboxes

Jan 27, 2010

I have 5 columns of text boxes 5*5=25 textboxes and I want to put buttons that will stop every column like on off.

View 32 Replies

Forms :: Copy Certain Buttons, Textboxes And Associated Code

Jun 8, 2011

I have a grid which users enter their contact information - fname,lname then phone number.

I want to know how i can when the usr clicks a button create an extra row of input boxes

And if possible be told how to make the form scrollable, so i can have many, many input boxes present when required

View 5 Replies

VS 2008 : Center Buttons And Textboxes On Panel?

Sep 14, 2011

i have a panel docked at the top of my form with a button and a textbox. Also have a webbrowser docked below the panel filling the rest of the form.when i run the form and maximize it, the panel and webbrowser resizes correctly as they are docked but the button and textbox stays where it is, how would i make the button and textbox always stay center screen so if i maximize it will be center.

View 2 Replies

VS 2008 Copy Certain Buttons Textboxes And Associated Code?

Jun 8, 2011

I have a grid which users enter their contact information - fname,lname then phone number.I want to know how i can when the usr clicks a button create an extra row of input boxes..And if possible be told how to make the form scrollable, so i can have many, many input boxes present when required.

View 8 Replies

Forms :: Increase A Forms Opacity Without Increasing The Opacity Of The Controls In The Form?

May 30, 2009

How to increase a forms opacity without increasing the opacity of the controls in the form?

View 1 Replies

Creating An Interface With Several Textboxes And HTML Component And Several Buttons?

Jan 29, 2010

I am creating an interface with several textboxes and HTML component and several buttons.But when I drag any textbox onto the existing form they line up vertically one under the another or they attach directly together on the same row. I want to be able to drag and drop and place these as well as the HTML component wherever I need on the form. In VB6 I simply selected what I needed and placed it with ease. Can someone tell me what I need to do gain this simple freedom in vb.net

View 3 Replies

Black Jack Game - Display Value In Textboxes When Buttons Pressed

Apr 3, 2011

I am having trouble with a blackjack game I am creating
I have buttons 1 - 13 (A-K)
I have 5 Textboxes which when the above buttons are pressed displays the values in the textboxes.
I also have one more textbox which adds up the values of the above 5 textboxes to give your Black Jack Total.

The problem I have is if an Ace (11) is in one of the textboxes and the Total Value exceeds 21 I need to have the Ace (11) change its value to 1 instead.
textbox 1 - 5 will be the card values
textbox6.text will be the total Value

I have tried......
if textbox6.text > 21 and textbox1.text = 11 then textbox1.text = 1

This seems to work fine however it only solves the problem of an Ace (11) appearing in textbox1.text so i tried to repeat the code with the other boxes...
if textbox6.text > 21 and textbox1.text = 11 then textbox1.text = 1
if textbox6.text > 21 and textbox2.text = 11 then textbox2.text = 1
if textbox6.text > 21 and textbox3.text = 11 then textbox3.text = 1
if textbox6.text > 21 and textbox4.text = 11 then textbox4.text = 1
if textbox6.text > 21 and textbox5.text = 11 then textbox5.text = 1
However this does not work and my program freezes?

View 11 Replies

Control Arrays - Application Where Several Textboxes And Buttons Will Be Added To A Groupbox

Mar 19, 2012

I am trying to do an application where several textboxes and buttons will be added to a groupbox.

for example..

code:

I might have anywhere between 1 and 20 rows of these textboxes and buttons. I can add buttons on from.. but how would i add the textboxes or buttons to the say Procedure for MyButton_Click... Handles MyButton_1.click, MyButton_2.click

View 7 Replies

Make An Array Of Controls And By Clicking Buttons Add New Textboxes Or Comboboxes?

Jan 6, 2010

i try to make an array of controls and by clicking buttons add new textboxes or comboboxes here is my code

Public Class Form1
Dim CArray() As Control
Dim lngArrayNum As Long = 0

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Add_Control()End Sub Private Sub Add_Control(Optional ByVal intType As Integer = 0)

[Code]...

View 2 Replies

Change The Controls Opacity Without Change The Form Opacity?

Jul 29, 2009

I want to change my controls opacity .I know how can i change the form opacity but I want to change the controls opacity without change the the form opacity , such as : "I want to set my form opacity = %100 and the button opacity = %50 " or "I want to set my form opacity = %50 and the button opacity = %100 " I'm using visual studio 2005 .net .I want to do that in basic language

View 3 Replies

Resolution And Buttons - Tabs, Inside Each Tab There Are Buttons (the User Can Add The Buttons When They Want)

Mar 3, 2012

I have a piece of software with two tabs, inside each tab there are buttons (the user can add the buttons when they want). when tab1 is full tab2 should start to fill. I currently know how many buttons fit on the screen so I just say something like if buttons > 150 then start to populate tab 2 The problem i have now though is if the resolution is changed then a different amount of buttons can be displayed. so if I put my screen to 1280x720 some buttons are left of. I was thinking of detecting the resolution and then using different cases for different resolutions but this seems very inefficient im wondering if there is a different way?

View 5 Replies

VS 2008 - Control Types - Textboxes And Richtextboxes - Isolate The Textboxes Only

Oct 14, 2011

On my form, i've got some textboxes and some richtextboxes. I'm using the following code, to search through the text properties of each of the two types of control. see below:-

For Each ctl As Control In Me.Controls
If ctl.Text = "7777" Then
ctl.Text = "found the sevens"
End If
Next

What i'd like to do is isolate the textboxes only, is there a way to do that? I tried this but i got an error:-

For Each box As TextBox In Me.Controls
If box.Text = "7777" Then
box.Text = "Found"
End If
Next

View 2 Replies

Set Opacity Of Controls?

Oct 3, 2009

Is it possible to set the opacity of controls separate from the opacity of the main form window? What I want is to be able to set the form window and labels as "see through" (but not invisible) while keeping the data fields fully visible or mostly visible.

For example, form background and labels at 50% opacity and comboboxes and listboxes at 90% opacity.

View 14 Replies

Using Opacity Of A Form?

Feb 22, 2009

I searched around google for a couple of hours to see if I could find anything on what I wanted to do.

Needless to say, I didn't find much. Basically, what I want to do is, when my main form loads, I want to load another form that sticks to the desktop but is transparent (Opacity) except for the text I want in it.

The only thing I could find is how to reduce the opacity of the form. I don't want the form to have a border or be able to be moved around by the user. I still want the user to be able to put icons over it, but not mess with it. I also don't want it to show up on the task bar. Kind of like a background in it's own right.

I'm not even sure if a form is what I need to do this. I imagine that it can be done.

*Edit: I found an example of what I want, but I'm going to fill my form with different info [URl]..

View 5 Replies

Pull Information From A Websight's Textboxes In IE Into Program Textboxes?

Oct 21, 2010

My goal is to, Pull information from a websight's textboxes in IE into my program textboxes. and to later Put changes from into other values on the websight from my program into it. The sight has multiple textboxes, on different frames. within it.I need to keep it as a exsiting open browser instead of making a new one. only gotten as far as finding the open internet explorer window, by useing

[Code]...

View 2 Replies

.net - VB 2008 Opacity Failure?

Oct 22, 2009

I have a 2 files here. One is my main form, and the other is a dialog I made. Now I'm trying to get enter code here the dialog to gradually obtain its transparency from a timer which I have on the dialong form:

If Me.Opacity = "100" Then
Timer1.Stop()
Timer1.Enabled = False
Else
Me.Opacity = Me.Opacity + 1

[Code]...

View 1 Replies

Any Way To Reduce Opacity Of Form?

Jan 28, 2012

Is there anyway of reducing the opacity of a form to 80% but at the same time have my buttons and text boxes to remain unhindered at 100%? When I reduce the opacity of the from the opacity of the text boxes reduce as well. How could I stop this from happening

View 5 Replies

Change Background Opacity?

Mar 25, 2010

I have a VB.NET form with a red background and white text. I want to change the opacity of the background (not the text) to 50%; how would I go about accomplishing that?

View 1 Replies

Change The Panel's Opacity?

Apr 27, 2012

How do I change the panels opacity?

View 1 Replies

Changing The Image Opacity?

Feb 10, 2011

[Code]...

When I click the button nothing happens. What am I doing wrong here ?

View 2 Replies

How To Change Panel Opacity

Jun 30, 2010

I have a Panel and a button control on windows form. Button is placed behind the Panel. I want to change the opacity of Panel, so that the button control can also be visible. But there is no property of panel control to change the opacity. Is there any way to make the Panel Opaque in this way?

View 1 Replies

Opacity For Controls And Images?

Dec 21, 2009

I am new at asking questions on this fourm (and at programing V.B.) so if I make any mistakesMy question is when displying images on a form is it possible to make them so they start off with 10% opacity and gradualy become solid using a timer?

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved