Hide TabPage2 In TabControl1?
Dec 7, 2011Is that possible to Hide TabPage2 in TabControl1?
View 2 RepliesIs that possible to Hide TabPage2 in TabControl1?
View 2 RepliesPublic Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code].....
I have a program that has checkboxes on tabpage1 and tabpage2. On the form is a StatusStrip1 with labels that have images. All labels are initially hidden.As I navigate the database, I want the the checkboxes that are checked to make their respective StatusStripLabel visible. I have tried to do this using the checkbox_changed like so:
If Pregnancy.Checked = True Then
PregnancyStatusLabel.Visible = True
Else[code]....
This works well for the checkboxes on the first tabpage but I have to click on tabpage2 before those checkboxes will display their StatusStripLables.How can I get them to all display without having to click on tabpage2 first?
I want every time I create a tab, there to be a RichTextBox with dimensions 500 height 400 weight
View 4 Repliesif there is a way i can get form1.tabcontrol1.navigate(url...) to work some how. i tried dong
form1.CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate("")
but that wouldnt work becuz it says ctype in not a member,
I have 4 tab pages on a form. and on each tab page a datagridview witch is connected to a specific table from a database located in Microsoft sql server 2005. I am wondering if it's posible to automatically open the tabpage2 when I click on a specific row in the tabpage1..
View 1 RepliesI currently have a subroutine that switches focus to a textbox when TabPage2 is selected. This works fine. [code] However, this doesn't prevent the Textbox from losing focus when TabPage2 is clicked on even though it's the active tab.I have a single button on that tab that disables the textbox if clicked using this: [code] Apart from that button being clickable, I would like the textbox to never lose focus as long as TabPage2 is the active tab.
View 3 RepliesWe are busy with a TabControl1 with 5 tabs. On these 5 tabs will be made the exact the same object structure with the same script.What is the best way to organize the TabControl1.
View 2 RepliesWe are busy with a TabControl1 with 5 tabs. On these 5 tabs will be made the exact the same object structure with the same script.What is the best way to organize the TabControl
View 2 RepliesI have an event called "worksheet_selectionchanged" which occurs when a range/cell is selected in an excle file.When the event is triggered, all the tabpages in a tabcontrol should be removed.The code is given below:
Private Sub myWorksheet_SelectionChange(ByVal Target As Excel.Range) Handles myWorksheet.SelectionChange
for each tabpagesToRemove as TabPage in tabcontrol1.tabpages
tabcontrol1.tabpages.remove(tabpagesToRemove)
[code]....
but when ever i select a cell in the excel file, the tabpages seems to be "not removed".
[Code].......
I have problem to play the piano swf inside the TabControl1 (WebBrowserA), but i can play piano swf within the main form (WebBrowserB). Anyone know why, and the method to solve it to play at tabcontrol1
This gives me an error.CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate(My.Settings.homepage.ToString)
View 4 RepliesI have 2 questions.
1- Let's I have a form with a TabControle and 2 tabpages, is it possible to set the tabpages so that if i go from tabpage1 to tabpage2 that all data on tabpage1 gets reseted. The same thing if I go from tabpage2 to tabpage1 that tabpage2 is reseted. Also if I press on tabpage1 or 2 that the form changes to a certain height.
2- On the same form I created a button to open a new form. This new form is a notepad look a like. What I want is that the moment I open the second form that al the input from form one is showed on form 2. So that I can save it or print it.
I'm curious if it is possible to hide a group of text boxes from view in a form until a particular condition is met, and to have a custom set of text boxes for that condition. To give an example; I want radio buttons offering choices for a manner of searching records, the user selects one and then a specific set of text boxes are displayed for the user to utilize, if a different option is chosen a different set of text boxes will be shown. Is this something that can be done?
View 7 Replieshow to hide exe into task-manager in windows 7 using vb.net windows application?I want exe is hide into task-manager in windows 7 & windows vista machine using vb.net(windows application)
View 3 RepliesIs there a way to to hide the taskbar o.o and unhide it?
View 1 RepliesI have a label and button on label in my asp.net webform.i want when i click on button then label1 will be visible with text "Success" and then it will hide automatically after some time say 10 seconds.I M using asp.net (VB)How to auto hide label after 10 sec and after label hide redirect to the ~/Default.aspx ?
View 1 RepliesIs there a way to store data on a USB file in a way that the OS cannot read it with the standard methods? I was thinking maybe with an uncommon filesystem, but then I 'd probably have to implement the IO myself, which sounds like a huge work.Another idea would be to access the disk sectors in a low level way and store data in an incompatible way? But I do not know where to begin.For the record, I am using VB.NET.
EDIT: Regarding the VALID security concerns you have raised: I agree, but assume that, all I need to do for the scope of my project, is to simply hinder the average and slightly advanced user. NOT the expert.
How do i do this in wpf
VB.NET
Private Sub FrmSettings_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
e.Cancel = (e.CloseReason = Forms.CloseReason.UserClosing)
[code]....
as wpf's Close event just gives me e.Cancel and no closereason?
I have a Windows app, which reads and writes to a flat file (.txt file). I don't want user to modify this file. What are my options?
View 6 RepliesIs there a way to hide a csv file?If not, can I put them on a server, acess them and still be able to use streamreader?
View 5 Repliesif i have list of names in a comboboxs ( mike , phlip , akon , roy),,, (( from database)) i have combobox1 , combobox2 ,combobox3 and combobox4 they all have the same list names if i chose mike in combobox1 in combobox2 , combobox3 and combobox4 the list will be ( phlip , akon , roy) then i chose akon in combobox2
View 6 RepliesPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ListBox1.Items.Clear()
For Each p As Process In Process.GetProcesses[code].....
i add uninstall.bat in my setup and deployment.the uninstaller works.but when i execute it, the cmd appear..what should i do to hide the cmd when i execute my uninstall.bat?can someone tell me?i write this in my unistall.bat :C:WINDOWSsystem32MsiExec.exe /I{productcode}should i add something?
View 4 RepliesHow do i hide min max button in mdi form. To make it clearer i have submit my form in imageshack.
[URL]
The thing is i want to hide min max button in the parent form. R
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click[code]...
View 2 RepliesIs it possible to hide a tab on a TabControl? I want to make certain tabs available depending on a users security level and I don't want users to see the information on the tabs they do not have access to.ebassador
View 4 RepliesI'm using 2 forms, one as a login screen and one as a main screen. Once the user is done with the login screen, bearing in mind that he'll never use it again, should I simply hide it with 'me.hide' and change to my new form, or is there a better way to do that, maybe do delete it from memory completely or something?
View 4 RepliesI have a contextmenu on my winform appplication. I have a bit of trouble with clicking on the menu items event. When I click on menu items event, the menu items do not fade or even hide. I want to know how to hide the contextmenu?
View 1 RepliesI just wonder if there is a way to hide a second program in my application and start/save it from my app. What I am looking for is a way to have 2 processes so if you shut the first one(from ctr+alt+del) down the second will still go on
View 1 Replies