Controls Overlapping Form Borders/title Bar?
Jun 5, 2010
I'm making a windows forms application, and I would like to know how to get a control to be on top of the titlebar/control box where the window title is displayed similar to the save icon on the Win7 Paint program or the tabs for Google Chrome.
View 1 Replies
ADVERTISEMENT
Jan 6, 2009
I have a windows application that I have created using Visual Basic 2005. I am a new user and have learned a few things, but quite an amateur! I need to printout a windows form but I do not want the form to have menu bars or borders printed. The windows form contains the data that I have updated using a Sequel Server 2005 DataBase. The form needs to be printed by clicking a Print Form Button on the form.Is this possible with VB 2005. i noticed a PowerPacks out there, but when I downloaded the tab does not appear on the VB 2005 Express Edition I am using.
View 1 Replies
May 8, 2009
I'm working on a visual studio 2008 VB.Net project (.net framework 2.0), and am having some trouble with the Panel control using a fixedsingle border. As a small example of the problem, suppose I have one Panel2 contained inside of Panel1. If the Left position of panel2 is set to 0 (meaning it's border is up against the left edge of Panel1), the left border will show as bold, and slightly indented.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form[code].....
What I'd like to see is just a single line, not bold or indented, where the two panels borders are equal.Is there a property or custom paint technique I could use to achieve this behavior?
View 3 Replies
Jan 7, 2010
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)
View 9 Replies
Mar 9, 2009
I have a map of the world which is set as a background image of a form. I then have individual countries in red and green which appear based on the result of a ping request. So if the IP address pings ok the country turns green, if the ping fails then it turns red. The individual red and green countries are picture boxes with transparent backgrounds.The problem is that, for example, America and Mexico overlap each other and where they overlap it just show the background of the form. Can I have the picture boxes overlap but show each other underneath?See the image below for what I mean as it's not easy to say what I mean [URL]
View 7 Replies
Nov 3, 2009
I have a class that contains one function: "ShowDialog()" It creates a new openfiledialog and sets its title, but when it is run, the title of the openfiledialog is set to the current directory that is shown in the dialog. I would not like this behavior. Here is the code:
Public Class LoadSet
Public Shared Function ShowDialog() As System.Windows.Forms.DialogResult
Dim Dialog As New System.Windows.Forms.OpenFileDialog
Dialog.DefaultExt = ".bsfci"
[code]....
View 4 Replies
May 26, 2012
I tried it every way I can think off, but nothing can stop it .
View 7 Replies
Oct 10, 2008
I seem to be having an issue with my form's background overlapping.I have two forms. One form is called the "mainscreen" and the other form is a small bar at the bottom of the mainscreen form, which shows different labels on a set timer interval.Anyway, the mainscreen will soon have a system in which it also runs different screens on a set interval. However, I seem to be having issues with the mainscreen already. I have set it to load a background image, using this code:
Code:
Me.BackgroundImage = New System.Drawing.Bitmap(My.Resources.image1)
[code]......
View 2 Replies
Mar 31, 2011
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 Replies
Apr 14, 2009
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
Dec 12, 2010
I'm trying to have Aero Glass look in my forms in VB.NET 2010 app with DWM API, but as function call suggests, it extends look of Frame to the client area, and if form has no border, nothing will happen and form will become invisible. So, can I get Aero glass in a form without any border.... ??
View 1 Replies
Aug 24, 2008
I've got a form with no borders, and I am wondering how a user would be able to move this form around. I would like it to be moved the same way a form would move by left-clicking and holding the top border. I know that's a little vague, so if you need any more info feel free to ask...
View 1 Replies
Jan 27, 2011
I have been trying to discover how to make the contents of a form expand or retract in response to moving its borders by grabbing them with the mouse, or by use of the 'Maximise' or 'Restore Down' controls.The explanation in �Help� concerning TableLayoutPanel, Panel, Anchor and Auto size doesn�t help much, especially as it I can�t get it to work.
View 7 Replies
Jan 19, 2010
I am trying to display a child form in a Mdi Form without the child Form's title bar showing. The title bar is showing with the default Icon, not even the icon of the child form. When the icon on this second title bar is clicked the popup menu (Restore/Move/etc.) shows.
[Code]...
View 4 Replies
Sep 22, 2010
I update a Form's Title from within the form, but it doesn't update. Any idea how to "Refresh" it so that the update displays?
View 5 Replies
Dec 19, 2010
Im am trying to get whats inside the <title>My Data</title> tags, however the results i pull back are not whats in the title tags..
Dim myMatch As Match = System.Text.RegularExpressions.Regex.Match(My_Text, "<(?<title>w*)>(?<text>.*)</k<title>>")
If myMatch.Success Then
[Code]....
View 3 Replies
Apr 8, 2010
What I can't figure out is how to change the title of a form. Meaning when it opens, at the top (title bar) it will say Form1 for example, how can that be changed?
View 2 Replies
May 21, 2009
I found this link. [URL]. I copied the code to my app and tried it. It didn't work for me. I think in may not have worked because I have a panel control with the dock property set to fill and Label inside the Panel with the Labels Dock property set to Fill. So I changed the mouse event names from Form to Label1, that didn't work for me either. One other thing you should probably know is that I have a timer control running as well (don't know if that makes a difference).
View 16 Replies
Sep 15, 2011
how i can put a control (like a checkbox) or a simple button in a form's title bar using VB 2010 and Windows 7? i already studied
[URL] but code samples here just work with WinXP (samples designed in VS2003 & VS2005), no vista nor Win7.
View 11 Replies
Sep 22, 2010
I update a Form's Title from within the form, but it doesn't update. Any idea how to "Refresh" it so that the update displays?
View 2 Replies
Nov 15, 2010
I am trying to change appearance but I am not getting any option for it
View 1 Replies
Oct 4, 2011
A question in the textbook asks me to use a check box to hide the form title. This is not a homework or test question. I'm doing the book's programming exercises in order to further my knowledge of Visual Basic.
I have completed the entire project, but this alone stumps me. I can't use IF statements or anything beyond what I have learned up to Chapter 2 of this book. The book is Programming in Visual Basic 2010 by Bradley and Millspaugh.
If anyone has this book, can you assist me in learning how to hide the form title by using a check box?
View 38 Replies
May 3, 2011
1.How to insert the Title Form and put on the Middle.
2.How to replace the logo Form with JPEG
View 4 Replies
Aug 17, 2009
i would like to be able to make my form title to be something like (document title) - (name of program). The document title is the title of rtb document. how would i do this? i sorta have start.
Me.Text = String.Format("iPad - {0}", rtbeditor.Name.ToString)
View 12 Replies
Aug 1, 2009
I have a form with propterty of FormBorderStyle=None how I can make it movable using VB 2008?
View 3 Replies
Jan 16, 2012
The application (Visual Basic) im currently working is a text document editor (ex. Notepad)And I want the form's title to show the file name thats loaded followed by the application name like this.
View 4 Replies
Nov 30, 2010
I'm gathering strings from a large text document using vb.net (2010 express) and storing them in array variables. The problem that I am seeing is that each variable that is gathered is appearing as text in the title Bar of the form. Is there a way that I can prevent this from occurring?
View 3 Replies
Sep 22, 2010
I update a Form's Title from within the form, but it doesn't update. Any idea how to "Refresh" it so that the update displays?
View 2 Replies
Aug 31, 2010
i have this program that allows multipal versions of one form when the program recives a command testform|this is a test|Admin testform is the form name this is a test is the message Admin is the user who sent tit what i want to do is use the name to find the form >>>> add the message to a text box on that form >>> tell them who sent the message in it as well but i dont know how to find the form or add to the box on it?
View 4 Replies
Nov 1, 2009
i have been working on an app, that remains just my preset sizes. recently, i have discovered that by double clicking the form title bar, even w/the formborderstyle being set to fixedtoolwindow, the form still maximizes and all of my controls remain in the top/left corner.. not a good view.. so, i set the maximum size of the form, and now when double clicking it, moves it to the top/left of my desktop.. not a good result. here is a quick sample to start w/.
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]....
how do i permanently block the double click on the title bar, to have no effect on the form? i do not want to end up w/having to create a borderless form just to avoid this..
View 3 Replies