Forms :: Remove Ugly MDI Container Borders?
Feb 16, 2011I have a Form, that is a MDI Container.But the grey window where the Childform are in has a 2 pixel width border around it.
View 5 RepliesI have a Form, that is a MDI Container.But the grey window where the Childform are in has a 2 pixel width border around it.
View 5 Replieshow do i remove the pink borders from the text? see attachment
i set the form to have transparency with pink, then changed background on the label to pink, but it leaves pink around the letters
Aim to Achieve: To get rid of borders if any in the cells of range. I have :
[Code]...
I have a MDI container form with menustrip, toolstrip and statusstrip on it. The backcolor of these items is black. The toolstrip and statusstrip show ugly white borders around them which I want to get rid of but there seems to be no such property like bordercolor or anything where I could change them.
View 1 RepliesI have a lot of forms that get placed in specific locations at run time. I need to disable relocating these forms, but I would like to keep the borders and titlebar.
I have tried jmc's codebank submission called "immobilise" but did not work for me, forms were still draggable (could be my mis_use, but no errors were thrown)If this isn't doable, is there a way to hide only the titlebar, but maintain the 3D blue borders all around?
I have now a Drawing Custom Borders, Download by CodeProject and now i'm being use, but my problem is how can i apply with my changes of my customize borders...i've been changing in Runtime not in editor...
[Code]...
I'm modifying an existing form in Visual Basic 2010 Express and attempting to work out some small kinks I've noticed. The one that I'm having an issue with is getting the form to completely fill the screen without the border going off screen. When I set the form's Size values at W:1024,H:768 the page always opens a little off. I tried setting the size a little smaller, W:1020,H:764, and it still does not perfectly fill the screen. Does the Size value include the border pixels or are the border pixels added to the form's Size value? Is there another value somewhere that could be affecting this?
View 5 RepliesI'm working on a project that will create new windows components. (If this is possible). I have made a button that creates new forms when clicked in the MDI container.Now I'm just wondering if someone can figure out a code to make it so when I click a button it creates a new button on the new created form. [code]
View 37 RepliesSo currently i have been working on a application that is a MDI parent, with child forms. I use a un docked toolstrip as a toolbox since i like the small icons and mouse hover, but one issue that bugs me is that when a child form is open in the parent form it's "under" the toolstrip. For example moving childform1 pass the toolstrip menu makes the form go under rather ontop. Is there anyway to give the child forms foreground when moving?
View 3 RepliesI had a master form which has a MDI container.When I was load the master form, I will also display another form inside the MDI container.But I was fail to maximize the child form to fix the MDI container. The image below is my problem Untitled2.jpg. I need to expand the form above to touch the MDI container border. (Full size in the MDi container)But I was fail even I was set the child form window state to Maximized
View 3 RepliesAm devloping an application with multiple forms, which reside on top of a main form. i.e the main application window. The 'child' forms do not need to be linked in any way as they do not pass information to the parent form, as all the parent form does is act as main window.Now I would like to know what is the correct way for the 'main window' form acting as a container for the other forms? So that all the smaller secondary forms stay focused on top of the main application form, that when the main window is minimized, so these forms should do also etc..
I have read other posts and they mention, leaving all the forms standard i.e. IsMdiContainer = False and then using form.showDialog() to call the secondary forms. This did not work for me as what happens is that as soon as I give focus to the main app form, the secondary form disappears underneath.I tired making the main app form IsMdiContainer = True and when it loads calling:
frmMemberForm.MdiParent = Me
Now this works, because I can click off the form and minimize the app etc and the frmMemberForm doesn't disappear. However if i close the MemberForm and reopen it, it looses this property and once again when it looses focus, it will disappear.
my TFS servers hard drive died out of nowhere, with no backup i was forced to create a new server and restore it from the mapped files that were on my local machine. Everything works except everything looks different in my projects now, take a look, left side is old. right side is new well except the countdown text that's yellow and green
View 1 RepliesI've recently been given the task of finishing an incomplete project for my University. It'll count as credit for one Class so I'll shave a month off of my studies!
[Code]...
Methods returning numbers just for the hell of it, passwords being saved in plaintext, you name it.
I have a meeting with the original author and I don't know how to handle this situation because I'm quite green in this area. How can I tactfully mention that I want to rewrite the whole thing?
Notice the two buttons at the bottom have moved down to the point where they are almost hidded? What can i do to resize the form as the user changes the font size?
|+--JDMils|+--VB6 & XL VBA+--VB Dot Net 2K8|
is system.windows.controls namespace only for silverlight, or is there a vb version that i can already use?
or is writing our own border class the only way to add borders to controls? (borders with colors i mean)
I want to draw borders around rtb. I am using this code but it draws border at top and left side of rtb only and also I cant type anything i rtb after drawing border. Is there another way of doing this?
[code]...
Currently I'm working on a image based project. These are scanned forms like subscription based. The subscriber should fill his info. in to the grids (boxes) given in the form.
What i need to do is, just i want to remove those grids without affecting the handwritten info.
simple problem that i just cant figure out. here is the code
[Code]...
this code works fine as long as i dont remove ALL items, the error i am getting is index is out of bounds of the array, i have tried -1, -2 0 +1 +2 and all are still giving this error, i cant just create code for remove all as i wont always need all removed so i kinda of have to get this code or something similar to remove only checked items. the code below is code i have tried
[Code]...
ListBox1.Items.Remove(ListBox1.Text)
ListBox2.Items.Remove(ListBox2.Text)
I need so that I click the button once it deletes from both listboxes. For example a till... listbox1 had items listbox2 has prices to remove an item I want the price to go aswell with same click... I already have a clear all button.
how can i remove the time when i inserted into the database using datetimepicker??.
View 1 RepliesHaving opened cmd.exe by using a process, how can I now open it without a Titlebar or borders?
hrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim p As New System.Diagnostics.ProcessStartInfo
p.FileName = "cmd"
proc.StartInfo = p
proc.Start()
End Sub
So am back again with dattagridview and comboboxes...sorry for the troubless.. Now let me come to my scenario aka problem..I have 2 dataviewgrids in my WINDOWS APPLICATION FORM (VB.net).The first grid populates some data from the SQLSERVER 2005 DB.When I click on any cell of the first grid, my second grid shows up and populates with the data corresponding to the cell which I have clicked in the grid 1.This is working perfect and so far so good.In the second grid I have 3 combobox columns and some textbox columns..The three combobox columns in this grid are also populated from the DB only usng datasets and datasource.In the first Combobox Column if I select one value, then the corresponding values are filled into the other textboxcolumns.This is also working good.The other 2 comboboxcolumns are also populated from database using different datasets..
Am about to add a master data ( i.e data into the first grid).it got added and after that a msgbox pops up sayn u must add data into the second grid as well.so the user is adding the data in the second grid.(all works except the new requirement).he added something into the first row by selecting the comboboxcolumns and also editing the other columns in the first row.(he havent saved this row.This will happen when he clicks the save button in the form not in the grid)he goes into the second row .Now here he should not see the item from the combobox1 which he has selected in row1.
I have a Form with a StatusStrip Component docked at the bottom.The form has fixed width and is not resizable.However the StatusStrip has a little 'resize triangle' at the right. (6 little dots)This gives the impression that the window is resizable.
View 1 Repliesust want to know a better way to remove the close "x" button of the form, or atleast every time i close it end up openning again.
View 5 RepliesI am currently working on a program that needs to execute an outside program and then remove the border from the program (The border that includes the minimize, maximize, and close buttons) and then embed it into my form. I have everything working except for removing the border. Anyone have some code to do that? I am using vb.net in VS2008.
View 5 RepliesI have this [code]...
And what i am doing here is removing a peice of text from my multiline textbox (textbox7), But its not working..?
I found this in the internet to add values to a combobox:
Private Sub ComboBox_Matricula_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles ComboBox_Matricula.KeyPress
If e.KeyChar = Chr(Keys.Enter) Then
[code]....
how can I remove this by marking/ touching with mouse one value and click on the keyboard "del"?
For my masterpage, I embedded an image on HTML DIV. Background image did appear, but with 4 white border-like surrounding my image, where I didn't apply any.
<head runat="server">
<title>Untitled Page</title>
<asp:ContentPlaceHolder id="head" runat="server">
[Code].....
When trying to draw borders on an excel sheet from vb.net im getting an error on this line
oSheet.Cells(16, k).BorderAround(Excel.XlLineStyle.xlContinuous)
its giving me an error for "XlLineStyle" saying it cannot find it within "Excel"... if i use the auto complete its not there either ie.. oSheet.Cells(16, k).BorderAround(Excel. and there is no XlLineStyle in the dropdown for autocomplete....
i have the microsoft office and microsoft excel references added, and i do have values and such populationg into excel from vb.net ...so some of it is working.... do i need to somehow define XlLineStyle for vb?
I have a form which has no window borders, but I still want to be able to resize the window? How might i achieve this? Even just a few options, like 'small' 'medium' and 'large' size would be fine if it cant be normally resized.
View 5 Replies