Search:
Type: Posts; User: paulorton
Search:
Search took 0.05 seconds.
-
-
I don't - where are they?
-
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...
-
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...
-
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...
-
*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...
-
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,...
-
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...
-
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) -...
-
Thanks for the continued help!
The TableLayoutPanel is 160 x 160 so unfortunately that's not the problem either :-)
-
Absolutely, well-spotted - problem is that it's made absolutely no difference...
-
Thanks, Ian, but no, every column and row was set to 12.5%
-
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...
-
OK, point taken - and many thanks to you both!
-
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?
-
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...
-
Presumably this means that the forms are destroyed each time they are closed?
Many thanks to techgnome, .paul., and formlesstree4.
-
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)...
-
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...
-
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 =...
-
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...
-
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...
-
You should have one in your toolbox.
-
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...
-
No, they are all set to WindowsDefaultLocation.
-
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,...
-
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...
-
-
When the user clicks on the maximise icon of a child form, the form covers the menu strip. How do I stop this happening?
-
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...
-
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...
-
No. Your post is so vague it's impossible to answer.
"found a problem" did you? I wonder what that problem was...
-
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...
-
-
Use a For...Next loop through all the items in your listbox?
-
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...
-
-
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)....
-
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...
-
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...
|
Click Here to Expand Forum to Full Width
|