Make Controls Visible, Form Invisible?
Jan 27, 2010I want my form to be invisible but I want the buttons and list-box to still be visible. So basicaly I want a bunch of floating buttons and listboxes on my screen.
View 2 RepliesI want my form to be invisible but I want the buttons and list-box to still be visible. So basicaly I want a bunch of floating buttons and listboxes on my screen.
View 2 RepliesStill using VS 2005. My concept is to use the same form space to display different "pages", like a "wizard" where you click the [Next] button, and the current UI disappears and a new UI appears. I want to "turn off" multiple controls and "turn on" multiple other controls. Example code: -
Private Sub
Button4_Click(ByVal
sender
[Code].....
I have this code for hiding a table and a cell in aspx, backend vb.net
Code:
For Each row As HtmlTableRow In tab_a1.Rows
If row.ID = "a1" Then
For Each cell As HtmlTableCell In row.Cells
cell.Visible = (cell.ID = "a1")
[Code] .....
Now instead of tables I'm using tags. How can I use similar code and make div's visible and invisible?
In visual basic.net I have been playing around with groupboxes and things of that nature, is there any way to group items into a box, say, buttons, and use the groupbox as a container to move / hold all of its contents while not being visible in any way? (no decoration perhaps?)
I've tried making the groupbox invisible but that makes all the items within the groupbox invisible as well.
i am familiar with Vb.net, asp.net, html and javascript. look this website: [URL] now go to the search directory: near to search button there is "Advanced Search" when u click it u will see a page that was hiden, again when u click the "Advanced Search" it will be invisible. i want to develop that portion of application on my own website. so how can do that? should i develop it using asp.net(vb.net) or javascript?
View 1 RepliesI understand the properties to change a button from visible to invisible, but I need to be able to have two buttons alternate visibility when the first button is clicked.It's for a game. The first button is to "Begin Game" and on open, the invisible button that sits over it is called "Begin Again" which I would like to only appear once the Begin Game button has already been clicked. This would then trigger the "Begin Game" to become invisible.
View 3 Repliesmake objects from the ToolBox using code instead of changing existing objects invisible then visible later?
View 7 RepliesBelow is the exception code info. when I try to make form visible for the first time from another form then I get an exception code. something like 'a required variable not set'
Quote:
CODE:
I have a form with six picture boxes on it. Each Picture Box has a button underneath it. When the button in clicked, a "Label" and "Textbox" appears. My question is, how can I close the currently open "Label" and "Textbox", when I click another button. I have a working code below, but it's not efficient. As you can see, I will have to list all labels and textboxes on the form. Is there a way to identify all labels and textboxes without naming them all. [code]...
View 3 RepliesI have a BackgroundWorker and the DoWork event, calls a function called "JustMe", it executes a loop to make visible all the controls on a panel, but does not work vb.net
Private Function JustMe As Boolean For Each ctr As Control In Panel1.Controls ctr.Visible = True Next Return True End Function Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
JustMe()
End Sub
I am currently using a DevExpress (10.2) Banded GridView within my Visual Studio 2010 project. It works great except I was have an area where I allow the user to choose which columns they want visible or invisible. I noticed that if I make all the columns within a band invisible the band still remains and gives an empty column in my grid. I was wondering if there is some way to automatically
View 1 RepliesI am using VB.Net and I'd like to ask how could I make my form invisible while the other objects on it are visible? When I set the form's opacity property into 0%, the objects on it are affected.
View 2 RepliesIs it possible to make my Form invisible? Not putting Form1.Hide or Form1.Visible = false in Form_Loading. I want it to be invisible on startup, basically have no GUI.
View 12 Repliesif I set the property Opacity = 0, a form becomes transparent... but become transparent all it controls, too!how to make transparent ONLY the form and let the controls, labels, buttons etc. visible??
View 3 RepliesWhen I make my form Opacity 0% everything disappears including controls that I know will happen im not dumb ok so I tried another method using Transparency Key I had success BUT my problem there is that when I have a picture box and an image IN the picture box around the image is the Form Background color so lets say I picked Maroon for Form1.BackColor, The edges of my image is Maroon
View 6 RepliesI am having trouble finding a way to make the form transparent but the controls still visible. The only transparency I have been able to get to work on the form is
Me.Opacity = <value between 0 and 1>
but that affects all the controls on the form Is there a way to make the controls not inherit this property from the form? Is there another way to make the form transparent? I have buttons and a checkbox that I don't want to be affected by the transparency at all, and a picturebox that I do want to be able to control the level of transparency. Currently, I'm using a slider bar, and controlling the opacity of the form, but that makes everything on the form transparent. I'd actually like for the form itself to be completely invisible, and for my slider bar to control the opacity of the picturebox only.
[code]....
View 3 Repliesmake a Form invisible without using the opacity?I am using VB10.
View 5 RepliesSo I have a program that only has one form in it, this form is just an "About" window that appears when a specific context menu item is clicked from the system tray icon (NotifyIcon) that is on the form.
All I want to do is make it so that when the program is launched, the form is not displayed at all and just the system tray icon appears.
I have accomplished this by doing the following but just wondered if there is a better/easier way?
1. Set the Opacity of the form to 0 in the designer
2. Set the ShowInTaskBar property to False in the designer
3. Use a timer that is started in the form Load event to call Me.Hide after 1 second
Then when I want to show the form I just set the opacity back to full and call Me.Show
if I set the property Opacity = 0, a form becomes transparent... but become transparent all it controls, too!how to make transparent ONLY the form and let the controls, labels, buttons etc. visible??
View 2 RepliesHow can I make a form invisable but not the items on it?
View 2 Repliesi use a picture control in mdi form .. but when i load child froms then mdi form picture are also show in front of child form...
View 7 RepliesI have a form (Form1 class) which has got a "next" button (like we have setup wizards) which shud take me to other form. Now that other form has two buttons , next and back , and it shud take me to the previous and the next form. And I want to preserve the states of each form. What I did was that I instantiated the Form2 class in the click event of the next button : [code]That does the job of showing the second form . In the click event (of the back button) handler of the second form , I have the following [code]Now , when I press the back button , the program hangs. And nothing happens. how to hide/show forms with .NET. In VB6 it's quite easy using Show/Hide methods.
View 6 RepliesI have 2 textboxes one for datetime picker and another for entering the name. i waant to make the datetime textbox invisible when the form is executed & when i press save the data from both textboxes should be saved into the database.
View 3 RepliesI need to print a windows form which contains radio buttons, checkboxes, and other controls.
Printform doesn't work - even with the scrollable option it only prints the visible screen.
The PrintDocument doesn't work, because I can't add controls to it.
I can't capture the screen image, because the form occupies more than the visible screen.
I would like to move the cursor automatically to a text box when I change it from invisible to visible.
View 2 RepliesHow can I make semi-transparent form, with fully visible buttons on it? I'm trying with opacity, but I can't force it to work only with form.(And I need semi-transparent form, so I can't use TransparencyKey)
View 2 RepliesMy FormLoad event contains a simple line which is Me.Hide. Then I make the tray icon visible so the application can be shown if the user needs it. However, the Me.Hide statement doesn't work during the form load procedure. It seems to work fine after the form has been loaded. So, my question is, how can I simply stop the form from becoming visible in the first place or hide it after it has loaded?
View 4 RepliesI am usng a multi threaded process to fire off a task, but when it is completed I want to make a label visible on the main form (form 1), eg "process completed", however the code I have in place comes up with the following error message;
Cross-thread operation not valid: Control 'lblCompleted' accessed from a thread other than the thread it was created on.
I'm having a problem with my form: all controls are suddenly insvisible! They are still working, though. It looks like this now: [URL] The menu items File, Edit, View and Extra used to be in the yellow bar above, but now they're gone, just like the status labels in the yellow bar below.
View 1 Replies