Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nelsonhoover

    Position form on screen

    Thanks a lot, Disferente. That worked perfectly.
  2. nelsonhoover

    Position form on screen

    Ok, I'll see what happens. BTW, Form1, in the previous example is actually a MDI form child and Form2 is not. Does that make a difference? Thanks alot.
  3. nelsonhoover

    Position form on screen

    Form2 is already manual. I will add the code to detect the proper cell to align with later. My problem is: With the above code, Form2 is near the top left corner of the screen, not anywhere close to the grid control on Form1. If I could just get Form2.Top and .Left the same as the grid...
  4. nelsonhoover

    Position form on screen

    Form1 contains the grid control. Form2 is borderless and contains the treeview control and will be used as the popup menu to select data for the selected cell. Code is simply: Private Sub Grid_BtnClick(ByVal Row As Long, ByVal Col As Long) 'Insert positioning code here Form2.Show...
  5. nelsonhoover

    Position form on screen

    Hi, I'm trying to use a borderless form as a popup menu containing a treeview control. I'd like to display the form modally directly under the currently selected cell in a grid control when the cell is clicked. I've got it mostly figured out except for how to get the form positioned as desired...

Part and Inventory Search

Back
Top