Forms :: Which Containers Have Inset Border
Feb 15, 2009I want to do a container that seems like this: Wich containers must use?
View 1 RepliesI want to do a container that seems like this: Wich containers must use?
View 1 RepliesHow we can create a form with border like calendar border. I changed ControlBox to False and Text to vbnullstring. but only when FormBorderStyle is Sizable or SizableToolWindow form border apears. This form is sizable. Is there any way to create forms with this border but not sizable? I want to create form like this:[URL]
View 6 RepliesI am trying to change every form title bar and border to green in my project. How do you change the all the forms title bar and border to green without changing other window applications title bar and border?
View 1 Replieshow I could go about Changing the border of my Forms and the title bar of the forms. I would like to change it globally so that it would take effect on all my forms.
View 3 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 set my forms FormBorderStyle to None in vb.net.i want to assign a border line in different colour which is not inside the form.
View 1 RepliesDefinitely data repeater is a very nice control. I can't remove the border of the data repeater control.It appears black by default. how to remove the border of the data repeater? I am using data repeater in my c# windows based application.
View 1 RepliesI work with VS2005 with .NET 2.0 and with Access DB. I have created a website using "ASP.NET AJAX-Enabled Web Site" with language C#. Is it possible to have an "INSERT" option in GridView...? I need to display a blank data row for the database file I have selected, where-in I need to start entering data with certain fields (columns) having pre-defined data.
View 6 Replieswant to inset a field on vb form with texboxe besides it such that when i inset values a polygon is drawn.
View 2 RepliesI am using the followin code to insert excel data into an access table. Everythig works, but the problem is if my excel file has 10000+ rows, it takes a while to insert. Is there a better way of doing this without installing office in each client pc, that I will be deploying my app?
Private sConnExcel As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:ExcelFilessample.xls;Extended Properties='Excel 8.0;HDR=Yes;IMEX=1'"
Private sConnAccess As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
[Code].....
I am trying to insert a vlookup formula into a excel cell.
This
vb.net
moApp.Cells(row, col).Formula = "=IF(ISNA(VLOOKUP($B:$B,'" & dDircetory & "[PricingSheet.xls]Pricing'!$A$1:$D$5000,2,FALSE)),"",VLOOKUP($B:$B,'" & dDircetory & "[PricingSheet.xls]Pricing'!$A$1:$D$5000,2,FALSE))" '.ToString
[Code]....
I am using vb express 2008.How I can have border around a Textbox or Label and change the color of border. Like we have different border styles and colours in MsWord and other applictions. Also how a Lable can be made transparent?
View 4 RepliesI migrate between C++ and VB.NET in my coding ventures... which leads to the occasional confusion about when something is by value or by reference in VB.NET.Let's say for example that I have an array of MyObject which is populated with a bunch of objects.
dim MyArr(5000) of MyObject. let's say that the information from this array travels throughout various data structures:
dim MyList as new List(of MyObject)
for i as integer = 0 to 5000 step 1000
Mylist.add(MyArr(i))
next
Under the above scenario, I believe everything is by reference. If I extract an entry from "MyTable" and modify its MyObject Members, I think that the original in MyArr will be modified.However, I have run into situations where I thought something was by reference, and it was by value. Are items always added to containers by reference, or are they sometimes added by value?
How do I go about looping through all the controls within a container, and all the controls in the container of a containing control, and so on.
[code]...
The following only retrieves -Panel and none of the other controlsFor Each cntrl As Control In Me.Controls Next How can I retrieve them all in a For Each loop without an If/Then for every level in the stack?
[code]...
This is so far the best method I found of doing this.
I want to divide the content in my application to groups each group has its own rectangle border with the group name located at the top border, i've seen it before and i'm not sure what is the correct name of this control, anyone knows what I'm talking about ? EDIT: Ok, I found the Groupbox Control but how do i use it? should i just drag other controls inside it or i should add controls directly into it?
View 2 RepliesI was wondering if there is a way to group controls together without using any containers such as panel, group box, or container.
View 4 Repliesi'm working on a program and i'm working with panels, and i'm very frustrated because I want to bring a panel to the front of the form but because of its parent it is locked into another panel.... in the properties for the panels there is no Parent container option though the only way i know how to modify parents is during runtime like this Panel1.parent = Me
View 3 RepliesBeen doing web development for the past 2 years - so I'm a little rusty (and I just switched to VS 2010 from 2008 so maybe something new is available)... I have 4 toolstrips floated to the top of a form. And I have a picturebox below - filling the whole form. Unfortunately the picturebox is "behind" the toolstrips. I want to split the form so that the top of the form holds the 4 toolstrips and the picturebox appears below them.
What would be the proper container to put this mess into so that autosizing is the easiest? The toolstrips will most likely be "turned off and on" during the running of the app.
How can I place a BG image on the tabs only (title area of tab)? I am also finding it dificult to change the tab text font, since it is changing the tab body font not the tab titles........??
View 2 RepliesI'm working on a winform which contains several controls like textboxes, radio buttons, datagridviews... All of these controls have been added to a main group box called gbDataEntry. My problem is when the user is seeing the form, I set gbDataEntry.Enabled = False but I want to enable some controls like DataGridviews so the user can scroll them. After disabling gbDataGridview I set DataGridView1.Enabled = True but it seems that the datagridview does not respond to this line. Why?
View 1 RepliesI create an app, with it when I click a button it opens a new form on a second monitor.
This works perfectly, but every first time the app start and I open the second form, on my primary screen (right side) I see the border of the second form. When I click the button again, the form is hidden, and when I click it again, it appears again but then the border is gone.
[Code]....
I know how to do it individually but not sure if it's possible to merge into one.
I have 6 containers that contain either Checkbox or RadioButtons.
Struggling sending the type of control and also wondered do i really need to call clear 6 times? Can't VB search each container for a control that can be checked?
vb
#Region "Form Events"
Private Sub ClearPizzaCreation(Of t As Control)(ByVal root As Control)
For Each ctrl As Control In root.Controls
[Code]....
In the toolbox, under Containers section, there are some "Layout" controls. What's the use of them ?
View 6 RepliesI have an image and i would like to add white border to surround it. Any idea how to do it? I have tried some method but no avail.
imageWithWhiteBorder = AppendBorder(Image.FromFile(dest), 10)
imageWithWhiteBorder.Save("C:Documents and Settingsdesktop ry.jpg")Public Function AppendBorder(ByVal original As Image, ByVal borderWidth As Integer) As Image
[code]....
I need the label control to be bordered in any of one colour.addition to that i need the textbox to be shape arc bended on corners
View 2 RepliesI need to build a custom WPF Control something like this
As I am new in WPF, I used the following code (sorry for VB.NET)
CODE:
Now
1) Is it the best way to do it, considering that I will inherit that control and need the same border on the inherited controls
2) Is it good to specify the default value for the BorderBrush (to be non-transparent), like I did?
3) Why my corners are moved with a pixel (not really right linked)?
In my XAML I want to dynamically generate a ListBox with the following:
[Code]...
I am working on an ASP.Net website and have a GridView displaying some data,in the OnRowDataBound event I am setting the border of the row for certain rows based on some criteria. This all worked fine when I was testing my pages locally, however when I put these pages within our master page (this is part of a company intranet site) the row borders disappear in IE yet display fine in firefox.
Is there anything that could be causing this? So far there is no CSS style applied that I know of as I set the border inside the event handler like so:
e.Row.BorderStyle = BorderStyle.Solid
e.Row.BackColor = Color.FromName("#fed69c")
e.Row.BorderColor = Color.FromName("Red")
[code].....
How do you put a blue border around a button used in a VB form? I cant seem to figure it out!
View 8 RepliesIs there a way to change the border color for buttons created using vb.net?
View 13 Replies