Search results for query: *

  1. D

    Go to Tab Page

    Yeah it did. And right on spot with a little searching of the forum too. Thanks a million
  2. D

    Go to Tab Page

    Solved I saw a thread with this heading http://www.vbdotnetforums.com/gui/20492-using-todays-date-select-tab.html That was exactly what I needed. Sorry for the disturbance ;-)
  3. D

    Go to Tab Page

    I'd like to display the content of a particular tab page, when I click on a button Current my code is Me.TabPage1.Show() That works partially, in that it does display the content of the page, but the correct tab is not selected. E.g. If i were on Tab Page 2 and I used this code to show...
  4. D

    Prevent Multiple Forms; Just refresh one

    How can I prevent another instance of the same form from opening up in the panel. I want to just refresh the form in the panel and populate it with the new data based on the selection i made in my tree, but currently all that happens is that another forms opens in the panel, so i end up with...
  5. D

    VScroll Row In DataGrid

    Thanks for the input, however that code returns the focus to the row at the top of the Grid, What I want to do is force the grid to scroll up by a certain amount of rows. I'm going use a work around though. When I look back into all of this, I may be just trying to do something that really...
  6. D

    How do I create a Master Detail Form with Datagrid.

    Thanks for the effort, I've started to use panels with other datagrids inside them to mimic the behaviour So what Im doing now is Expanding the row of the parent grid and then making visible and placing the child grid within that expanded row... It's not literally inside it, it just appears...
  7. D

    VScroll Row In DataGrid

    How can I automatically scroll a record to the top of it's datagrid window.
  8. D

    DataGridView Like Microsoft Access Child/Detail

    Okay so the code may need tiding up, maybe someparts in the If syntax may even be redundant but this is what I have and so far it works like a charm for what I wana do. Im gona do this with a 4 tier table link up structure, so the first Grid is going to be in the biggest panel, the second in...
  9. D

    DataGridView Like Microsoft Access Child/Detail

    Okay, so of the last two problems I've said I had, this is what I've done to correct the formatting of the cell contents in the cell problem I used this code Me.Tbl_DptDataGridView.Rows(e.RowIndex).DefaultCellStyle.Alignment = DataGridViewContentAlignment.TopCenter So at least I dont have...
  10. D

    DataGridView Like Microsoft Access Child/Detail

    Private Sub dataGridView1_RowHeaderMouseClick(ByVal sender As Object, ByVal e As DataGridViewCellMouseEventArgs) Handles Tbl_DptDataGridView.RowHeaderMouseClick Me.Tbl_DptDataGridView.SelectionMode = DataGridViewSelectionMode.RowHeaderSelect If...
  11. D

    DataGridView Like Microsoft Access Child/Detail

    How do I create a Master Detail Form with DataGridView For anyone else looking for a way to use DataGridView in the same way it would appear in Microsoft Access, This is what I've come up with just as a guide.. From what I've been reading, the closest thing that can be used in .NET to do this...
  12. D

    How do I create a Master Detail Form with Datagrid.

    Not quite Thanks, but I know how to do that much What I need is a Datagrid as the Master and another Datagrid that is displayed within the first, So, when a row is selected in the master table/datagrid, it expands and shows another datagrid inside that with corresponding records from another...
  13. D

    How do I create a Master Detail Form with Datagrid.

    How do I create a Master Detail Form with Datagrid. I want one datagrid to show the master details and when that row is selected, it expands to show corresponding information from the Detail source.. How can I achieve this. Thanks
  14. D

    how to select child node in Treeview

    Like John H says, the e.node or the [e.node.Tag] or the [e.node.Text] can be used e.g. I use the e.node.Tag for doing specific actions like loading employee records from a form(or more like a subform) into a panel on my parent form that also has the tree. If what John H mentioned doesnt...
  15. D

    Treeview and listbox - I got it

    Well somehow when I just started, it was just adding selected nodes to the listbox, no matter if they were there already cause I was just using the ListBox1.Items.Add(s) but I think, in relation to the flaw you're talking about, later on I'm gona want to remove all "child" nodes of a...
  16. D

    Treeview and listbox - I got it

    Sweet!!!! Hey, Thanks a million 1. e.Node.Checked.Equals(True) is the same as e.Node.Checked 2. Me.ListBox1.Items.Contains(s).Equals(False) is the same as If Not Me.ListBox1.Items.Contains(s) 3. but the .contains(s) is the real beauty Thanks a million. I'm still mulling over the problem...
  17. D

    Treeview and listbox - I got it

    Lol.. The shortened version is like u using some serious zipping tools to condense all that I had. I'm going to try using the .contains method, I tried at first and was having some difficulties, which is why I used the code that I posted.. thanks alot for all the tips though, and for the...
  18. D

    Treeview and listbox - I got it

    Okay, so I'm what they call a newbie like others were when they just started coding. I love working with listboxes and TreeView, so as I make a breakthrough with something I didnt understand, I'll try and share. Hopefully I'll put together an actual sample when i learn how to deploy. the...
  19. D

    Get Tag of Selected Check Box

    Solved IT if anyone else has this problem, maybe this will help u. Private Sub TreeView1_nodeClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.TreeViewEventArgs) Handles TreeView1.AfterCheck Dim s As String = e.Node.Tag() Me.ListBox1.Items.Add(s)...
  20. D

    Get Tag of Selected Check Box

    How do you get the value of the node whose check box is checked? Kinda going around in circles, I have the tree working, Im able to add tags of the nodes that I click to a list box. What I need now is to be able to add/remove those tags to/from the listbox when the check boxes are...
Back
Top