Search:

Type: Posts; User: paulorton

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    1,873

    Re: Where's all the threads

    Thanks for that!
  2. Replies
    3
    Views
    1,873

    Re: Where's all the threads

    I don't - where are they?
  3. Replies
    3
    Views
    622

    VS 2012 Re: First time with drag drop

    Yes, I did miss out the DragEnter (it was missing from a couple of the examples I dredged up from the web). I've added the routine you suggested but the result is still the same.

    Perhaps I'm going...
  4. Replies
    3
    Views
    622

    VS 2012 First time with drag drop

    I have 2 picture boxes, both with a background image. One of them has a foreground image, too. I want to drag the foreground image from one picture box and place it over the background image of the...
  5. VS 2012 Re: Unwanted border around cells in TableLayoutPanel

    Brilliant, thanks very much!

    The reason I used a TableLayoutPanel as a container for the PictureBoxes is that I will later on want to be able to resize my chessboard and I thought this was a good...
  6. VS 2012 Re: Unwanted border around cells in TableLayoutPanel

    *Thank you very much* for this suggestion but I don't have time to try it out just now - I'll let you know tomorrow if it works.

    I must say, though, that I don't understand why I need to set these...
  7. VS 2012 Re: Unwanted border around cells in TableLayoutPanel

    OK, great, thanks, that works for the PictureBoxes but it now leaves a white border on the right and bottom edges of the TableLayoutPanel. I've added

    tlp_Chessboard.Margin = New Padding(0, 0, 0,...
  8. VS 2012 Unwanted border around cells in TableLayoutPanel

    My TableLayoutPanel has cells that are 32 pixels square. Each cell contains a PictureBox that has a 32 pixel square image in it. Unfortunately at runtime there is a white border around every image...
  9. VS 2012 Re: Trying to make equal-sized cells in TableLayoutPanel

    Thank you!
    161,161 does, indeed, work for Single width borders - plus commenting out the code I posted (ie. using designer only). Leaving the code in is also fine (including the ColumnStyle.Clear) -...
  10. VS 2012 Re: Trying to make equal-sized cells in TableLayoutPanel

    Thanks for the continued help!

    The TableLayoutPanel is 160 x 160 so unfortunately that's not the problem either :-)
  11. VS 2012 Re: Trying to make equal-sized cells in TableLayoutPanel

    Absolutely, well-spotted - problem is that it's made absolutely no difference...
  12. VS 2012 Re: Trying to make equal-sized cells in TableLayoutPanel

    Thanks, Ian, but no, every column and row was set to 12.5%
  13. VS 2012 [RESOLVED] Trying to make equal-sized cells in TableLayoutPanel

    I'm trying to create a chessboard using a TableLayoutPanel of 64(8x8) cells, each cell to contain a PictureBox. I also want the chessboard to expand and contract as the user grows or shrinks the...
  14. VS 2012 Re: Problem with an array of objects

    OK, point taken - and many thanks to you both!
  15. VS 2012 Re: Problem with an array of objects

    I researched this and one recommendation for an array with different data types was to declare it as Object. What do you think would be a better way?
  16. VS 2012 [RESOLVED] Problem with an array of objects

    I have an array that contains strings, numbers, dates and booleans. It has form-wide scope and is declared thus:
    Private f_StudentFields(40) As Object

    When it comes to populating this array I...
  17. Replies
    16
    Views
    2,679

    VS 2012 Re: MDI forms behaviour

    Presumably this means that the forms are destroyed each time they are closed?

    Many thanks to techgnome, .paul., and formlesstree4.
  18. Replies
    16
    Views
    2,679

    VS 2012 Re: MDI forms behaviour

    Here is a stripped down to absolute essentials (I hope!) look at what I'm doing :

    Public Class frmMain

    Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)...
  19. Replies
    16
    Views
    2,679

    VS 2012 Re: MDI forms behaviour

    frmMain is the startup form.
    The child forms are mostly opened by the user clicking on menu items on the frmMain menu bar which then issue the command frmWhatever.Show(). All of the child forms are...
  20. Replies
    16
    Views
    2,679

    VS 2012 Re: MDI forms behaviour

    Sorted!

    I thought that having

    frmSetWork.MdiParent = Me
    in my frmMain load event would keep frmSetWork as a child form throughout the application. Apparently not. Putting

    Me.MdiParent =...
  21. Replies
    16
    Views
    2,679

    VS 2012 Re: MDI forms behaviour

    I don't think you have solved it. I have put

    Me.Top = 0
    Me.Left = 0 in the child form's load event and the form still displays unpredictably.

    I was already aware that child forms are meant to...
  22. Replies
    16
    Views
    2,679

    VS 2012 Re: MDI forms behaviour

    But some of my forms load *outside* the child form area (concealing the menu bar). And if I load, close and reopen the same form repeatedly, it's position seems pretty random - it doesn't...
  23. Re: How to get a progress bar like in this picture in vb.net? Please help

    You should have one in your toolbox.
  24. Replies
    16
    Views
    2,679

    VS 2012 Re: MDI forms behaviour

    I've set this property to Manual but it's made no difference...

    In any case I want my child forms to behave as child forms are meant to (unless I've misunderstood their default behaviour). Why...
  25. Replies
    16
    Views
    2,679

    VS 2012 Re: MDI forms behaviour

    No, they are all set to WindowsDefaultLocation.
  26. Replies
    16
    Views
    2,679

    VS 2012 [RESOLVED] MDI forms behaviour

    If I run my application and open a child form, that form opens and anchors to the top left corner, underneath the application's menu bar, as it should do. Why then, if I close and then reopen it,...
  27. Replies
    1
    Views
    1,236

    VS 2010 Can't open any forms in design mode

    I have just upgraded from Vista HP to Windows 7 HP and in my first use of VB 2010 Express since the upgrade I find I can't open any forms in design mode. When I try I get the error "The designer...
  28. Replies
    2
    Views
    700

    VS 2010 Re: Maximising an MDI child form

    Thank you.
  29. Replies
    2
    Views
    700

    VS 2010 [RESOLVED] Maximising an MDI child form

    When the user clicks on the maximise icon of a child form, the form covers the menu strip. How do I stop this happening?
  30. VS 2010 Re: Datagridview - preserving keystrokes in a cell after moving down one row

    Yes, it does - many thanks!

    Mind you, it's depressing I couldn't find the solution on my own. Maybe if I was 30 years younger...
  31. VS 2010 Re: Datagridview - preserving keystrokes in a cell after moving down one row

    Thanks for working on this for me! Unfortunately commitchange() isn't a dgv or a textbox method AFAICS - can you clarify this?

    I know that this appears to be a complicated way to get a 2 digit...
  32. Replies
    7
    Views
    1,101

    Re: Compiling old code

    No. Your post is so vague it's impossible to answer.

    "found a problem" did you? I wonder what that problem was...
  33. VS 2010 [RESOLVED] Datagridview - preserving keystrokes in a cell after moving down one row

    Still having problems with this...

    I want the user to have a choice between being allowed to enter one digit (the default behaviour) or two digits (which the user has to 'announce' by first typing...
  34. VS 2010 Re: [RESOLVED] Datagridview - programmatically move down one row after cell value is

    Just a hint will do!
  35. Replies
    11
    Views
    5,086

    VS 2010 Re: Print Items from Listbox

    Use a For...Next loop through all the items in your listbox?
  36. VS 2010 Re: [RESOLVED] Datagridview - programmatically move down one row after cell value is

    Hmm, I've not quite finished with this after all!

    I now have a similar problem but with a slightly different scenario : this time the user is allowed to type in 2 digits, instead of 1, before the...
  37. VS 2010 Re: [RESOLVED] Datagridview - programmatically move down one row after cell value is

    Thanks, for that!
  38. VS 2010 Re: Datagridview - programmatically move down one row after cell value is deleted

    Brilliant, thanks!

    Now I would never have found that in a million years. Where would I have found that and similar material (apart from here, of course, but that just makes work for other people)....
  39. VS 2010 [RESOLVED] Datagridview - programmatically move down one row after cell value is deleted

    I'm obviously missing a trick here because this ought to be easy...

    I have .EditMode set to .EditOnEnter (if that's relevant). Here's the code I'm using:

    Private Sub dgvKeyDown(sender As...
  40. VS 2010 Re: Datagridview - how do I trap the Delete key?

    OK, thanks, that works - but I'm not sure I fully understand why!

    I've looked around briefly for something on datagridview editing controls but haven't found anything very clearly explained. Can...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width