Interface And Graphics :: Open A New Page In Current Form?
Jun 22, 2009how I can get a new page to open in the same form when I click a button?
View 1 Replieshow I can get a new page to open in the same form when I click a button?
View 1 RepliesI have a main form that hides when i open other forms from it. On the child forms i have a menu strip with file:exit and help:about. When i click on file:exit the form closes and the main form opens. using the following:
[CODE]........................
That all works fine. What ineed is to get the same results when a user clicks on the x in the top right corner.
Im working on a project that needs to print a report of one client.Everything went smooth untill i came across my multiline input text data.When i display it in the PrintPagePreview the text go's outside my page. Even when im printing it only the halve of my text is displayed. I googled and looked everywhere but i can't get a clear fix for it.
[Code]...
I know how to print a document from a file and a picture(Graphic) from a file but how do I print a current page of a Windows form I have developed. I.E. from my bank I get my statment by printing the page from a Print Page button. I tried codes I know but in my program it prints a blank Page.
View 1 RepliesI'm working on a design project where I have to use a Graphical User Interface that contains a drag and drop form. It consists of having a window dropped on a wall. Both of them are images to scale. I would like to know what kind of code I would have to use to show the x and y coordinates of one of the points of my window when dragged so when I drop it, I'm dropping in it on the desired coordinate of the wall.
View 2 RepliesI have a map image and i want to open it look like ACDSEE (very fast)my image is 12756 x 8504 pixel and i try backbuffer but not work for me.
View 3 RepliesI've got a basic idea of what i'm wanting to do, just been out of it too long to remember how to do it. I'm wanting to load an image, not display it. Get all the pixel data, then redraw the image pixel for pixel in mspaint.
View 16 Repliesis there any open source library able to add virtual instruments to VS ? NI has the Measurement Studio able to do that but it's a costly option..
View 1 RepliesAs Autodesk is going to discontinue VBA for their Inventor product in the near future I have been looking at other ways to run VB.NET in Inventor. To date it doesn't look like VSTA will be the replacement. Automation from an External VB.NET app is certainly possible, but leaves something to be desired for speed and integration. Compiled Add Ins are the Cadillac of choice but can be a royal pain to debug and develop. Autodesk now provides a lightweight VB.NET script interface called iLogic. It's main purpose is to allow extreme customization of Solid Modeling parts. The code actually resides inside the Part Model file.
[Code]...
How can I add a scrollbar to my form I tried the auto scrollbar option but is not working ??
How can I validate the user inpute inside a textbox to check that he type the desired word?? for Example validate if the user typed the word ( Bob)?
how to maximize my form window and for example my list view, tool strip container etc etc, maximize with the form window. I would just create the form to my monitor 1440x900 but this will be used on several computers all with different monitor size. What I'm looking for is a quick easy way of doing instead of setting each one up separately.
View 1 RepliesHow would you add a Dynamic Contextmenustrip to your form and how would you add the items to the contextmenustrip. Also when adding the items to the menustrip is it possible to give them names and text dynamically if so how?
View 5 Repliesknow that there is library which can change the theme of the form but i do not
View 1 RepliesI'm looking for a tool that will allow me to display, and change forms, inside my original form.
View 5 RepliesI have following code to resize the form at run-time but it does not work. Form size remains same. What could be the possible reason?
frmErrMsg.btnNo_Err.Visible = True
frmErrMsg.btnOK_Err.Text = "Yes"
frmErrMsg.Height = 800
[Code].....
I am using a MDI form and child forms. Now I don't like the standard back colour of mdi form so I got code on the net which paints a gradient colour to the mdi. So far it is working okay.Now the problem is when I load a child form or close it or do a similar activity then it causes flicker in the mdi background. This gets pretty annoying at times and you see the background flicker.
View 2 RepliesI'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 RepliesOk, i know the simple media controls to play a video file on the control screen, but is there a way to play the video on the form background?
View 2 RepliesI have a Visual Studio 2005 VB project that creates a fairly simple form containing three text boxes with corresponding labels. In terms of property settings I have AutoSize set to True, AutoSizeMode set to GrowAndShrink, SizeGripStyle set to Show, and WindowState set to Maximized.
I'd like the user to be able to grow and shrink this form using the resize grip that appears in the bottom right corner. When the application starts, it starts maximized, which is what I want, and it has the typical minimize, restore down, and close buttons in the upper right corner.
I can use restore down to reduce its size, and once that's done I can use the resize grip to make the form larger, but the resize grip will not allow me to make the form smaller. Changing WindowState to Normal doesn't change this behavior.
I've got an app that I want to have an MDI with. It functions fine, but there needs to be a control panel off to the side of it to drive the child documents' creation. I have two problems with this.
First, if I add the control panel to the side of the form, it just overlays the MDI portion of the form and the children will spawn behind it. I can more or less manage the positions of these children, but the problem comes when I want to minimize the children, they minimize behind the control panel and I don't know how to move them. So I need to shrink the area they can move around in. I've read in places that you can use the splitter object, but that never seems to cooperate with me and only wants to move to the extreme left or right of the parent form. How can I reduce the area the children get to interact with? I've tried creating a MDI Panel, but VS has a fit with that.
Second, I've got a datagridview holding the data that will spawn the child forms. This is working well, but even though I've set the rows to be not resizeable, I can still make them grow or shrink during run-time (not programmatically). How do I stop this?
what I want to do is cancel a MDI child form closing when the 'X' at the top right hand side of the form is clicked.So, I use e.Cancel = True in the MDIchild_FormClosing event.However, the parent will not close if the 'X' button is clicked, and I noticed that the FormClosing event of the child handles 'Me', which I assume is the parent.Changing the handles 'Me' to handles 'nameOfChildForm' only generates an error Error: Handles clause requires a WithEvents variable defined in the containing type or one of its base types
View 2 RepliesI am trying to put an image selected by the user into the form background. This means that an image from a specified file destination to be set as background.
View 2 RepliesIm quite new to VB actually and i've run my web application using VB .net. My problem here is to change the standard border color so that it would not look dull and just to make it look custom from other application. How can i change it? ive search all the properties but havent solved it.
[Code]...
i make a Form transparant where i dont want form background. So say like i got a round form and i can transparant the white background of the round even possible?
View 6 RepliesI've got a question and i think its very simpel but i don't get it.
I've got 1 form that is a MdiContrainer for other forms that i'm opening.
(lets say: the main program)
In the main program, i'm opening a form with a datagrid in it (configuration form). If i click on one of the data cels I'm calling a otherform as a dialog to edit some of the value's from the data cel thats just clicked.
But the problem is, when showing this form as a dialog, with the property startposition: Centerparent it displays it as in the center of the main program and not from the calling form. How can you correct this? Because i'want the dialog in center of the calling screeen.
dialog.parent = me: wont work
see attachment for the program.
I have only recently started using VB.NET after having a little experience in VB6. I am trying hard to force myself into this OOP mindset. I want to know if a certain thing is possible.
I want to be able to call a function in the beginning of my main form's startup sub. The function call would look something like this.
Code:
Private Sub frmMain_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim Username, Password, NewPassword as String
[Code].....
I have a form that I want to dock and move to just above the task bar on the right side of the screen. How could I do this?
View 3 RepliesI'm just getting started, and it's as simple as that: I need guidance to draw a rectangle or place a dot or a point on Form1, in VB 2008 Express. I knew how in VB6 -- let's build on that.
View 3 Repliesi have created a form containing a text box and a button. i would like to know if it is possible to embed this form in the title bar of the current active window that is opened eg: ie,notepad,word this is so that i can enter a word in the text box and use text to speech to say it or highlight a word in the active window and it will be placed in the text box of my form. i can position the form in the top right location but then the form position is stagnant.
View 1 RepliesI have a form containing two panels. In both panels there are two labels and textboxes. I set the 'Center In Form' property of the labels and textboxes to 'Horizontally' and 'Vertically' in design time respectively. But as the form is resizable, when the size of the form is increased or decreased at runtime the controls are no longer center aligned in the panels. How can I handle this problem (provided th
View 3 Replies