Forms :: Make Scrollable Form?

Jul 24, 2009

How can I make a form scrollable?

View 2 Replies


ADVERTISEMENT

Forms :: Relocating And Resizing Controls In A SCROLLABLE Windows Form?

Jul 12, 2010

i have created a windows form that has some labels, lines , buttons and i have enabled autoscroll property to true. i am having trouble with relocating and resizing of the controls with resizing of form and change in screen resolution.i have used a code liike dim tmpctrl as control

for each tmpctrl in me.controls
tmpctrl.setbounds((tmpctrls.location.x/X)*me.width, (tmpctrls.location.y/Y)*me.height, (tmpctrls.size.width/X)*me.width,(tmpctrls.size.height/Y*me.height))
next

now as my form is a scrollable form.and the total window portion with respect to which i want to resize n relocate. m having trouble in choosing X , Y in the above code.

View 5 Replies

Forms :: Iterating Through 360 Items In Scrollable Control

Oct 19, 2010

I am just getting back into VB.NET, and I need to ask a question. I am doing a project for a class which requires iterating through 360 items in a scrollable control that will pause every so often. I am thinking I might use either a ListView or GridView, but I am not sure if this is the right way to go or if I need to use a different control all together.

View 3 Replies

Print A Scrollable Form

Feb 1, 2009

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.Size = New System.Drawing.Size(830, 1200)
' MsgBox(Err.Description & " " & Me.Size.Height.ToString)
MsgBox(Me.VerticalScroll.Value.ToString)
[Code]...

View 1 Replies

How To Get Full Print Of Scrollable Form

Mar 15, 2012

I have a form in VB which is scrollable (using autoscroll) and when I currently click 'print', it only prints what I can see; it takes a screenshot of the viewable information.

Here's my code:
Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click
Dim settings As New System.Drawing.Printing.PrinterSettings
sPrintForm.PrinterSettings = settings
settings.DefaultPageSettings.Landscape = True
[Code] .....

How to print the whole of the page, including the areas that can't be seen? I've already tried using:
PrintForm.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable)
And that didn't work.

View 3 Replies

Print All Of A Scrollable Form In Program?

Mar 15, 2012

I have a form in VB which is scrollable (using autoscroll) and when I currently click 'print', it only prints what I can see; it takes a screenshot of the viewable information.[code]...

View 8 Replies

Unable To Print Scrollable Form?

Oct 18, 2011

i am working on Scrollable form, when i am trying to print this form with PrintForm object its printing only the showing part not all the form this the code which am using.Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Me.PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable) End Sub

View 3 Replies

VS 2005 Form Size Scrollable?

Mar 19, 2011

I need to increase the size of my form and allow it to be scrollable vertically but I cant set my size any larger then 780 I have auto scroll set to true and from what I thought I understood I should be able to make the form longer and it would be scrollable Can someone tell me what I am doing wrong ?

View 15 Replies

Dockable(Scrollable) Form Left Side?

Apr 2, 2010

im trying to make the form Dockable in the desktop on the righ side. I mean i can do this i can stick the form on the side but all other application are not seen in the full window coz my appz is still on the top and others appz under it.Size of the form is 200x1024, it is like administration stripe.So i would like to make other Winows in the system ended on the edge of my application. Is it even possible in VB?There is other way i guess to use some of the scroll(collapsible,expader) windows to the side of the desktop would do it as well but i dont know how to ?

View 1 Replies

Scrollable Display Of Extremely Large Image On A Form

Aug 11, 2009

I am an experienced programmer but mainly in 4GLs and assembly. Relatively new to VB programming, especially GUI applications. On a form I need to create an area that will be used to display *extremely* large TIFF images. typical image size would be 2000 pixels by 100,000 pixels. Typically I will NOT want to display the entire image at once, so the area will need to have scroll bars and/or other methods to scroll/pan around the image.

I have read about and tinkered with the bitmap and picturebox objects, including some threads about several different ways to implement scrollbars. However, I see that the picturebox size is limited to 32K pixels in both dimensions. I suppose that I might be able to copy various portions of the bitmap to the picturebox depending on scroll position, but that seems potentially quite slow and cumbersome. Can an expert developer who is experienced with these types of issues regarding the following:

1. Can bitmap objects be used effectively with TIFF images of the size I am working with?

2. an approach that should produce reasonable scrolling performance for these extremely large images without excessive coding effort?

3. For an image that exceeds the picturebox size when displayed at 1:1 scale, is the picturebox capable of displaying a reduced size version of such an image without lots of code, and if so, how?

4. Many (most?) graphics display objects count on all of their display data being stored in memory rather than on disk. Would that be true of a TIFF image loaded into a bitmap object and displayed via a picturebox? If so, the amount of RAM required in order to buffer the entire image in memory could be a potential problem for images of this size. Is there an advisable way to have the picturebox or other display object only load portions of the image into memory on an as needed basis, and purge them once they are no longer required? Are there any built in objects/methods/properties or is there any sample code to show how to do this?

View 12 Replies

Forms :: Make A Model Form, And Copy That Form As Many Times?

Mar 28, 2009

I'm making a program like PostIt! Well, i want to make a model form, and copy that form as many times i want.I think it works with something like frmPostit1 = frmModel.clone()

View 2 Replies

Forms :: Make Pop Up Form?

Oct 5, 2009

I want to make a form which is pop up in window. so, user can not do anything with this form displays. If user close this form, so user can open explorer or . . .. .In all, I want to make a form which pop up like shutdown menu in Microsoft Window, so user cannot click any place beside this form.

View 2 Replies

Forms :: Make A Form Act Like A Message Box?

Sep 11, 2009

How can I make a Form act like a message box, where you can't return back to the main/parent form until it has been closed?

View 4 Replies

Forms :: Make The Form Fullscreen?

Sep 9, 2009

how would you make the form fullscreen

View 3 Replies

C# - Make A Form Modal In Windows Forms?

Mar 23, 2010

I'm trying to create a child form that helps the user to enter data for a field in the parent form. I want this child form to be modal, but I don't know what I need to do to make this form modal. Perhaps there's a different type of item I need to use; if so,

View 2 Replies

Forms - Make A Button On A Form Momentary

Apr 9, 2010

Is there any way to make a button on a form momentary? I have an app where I need to have a jog button for a motor and for the life of me I can't figure out how to do this.

View 6 Replies

Forms :: How To Make A Windows Form More Responsive

Aug 5, 2010

In my (VB.Net+VS2008) application, I want to make my windows form (splash) more responsive as there is some complex functionality is performing while loading splash form. Currently when any other application come in front of splash screen and then minimize then splash screen looses its proper visibility and showing some hang kind of state also.

I used Application.DoEvents(), but it doesnt work. I cant use background worker because it doesnt support UI related changes. i.e. Initializing some UI components on shown event of splash screen.

View 1 Replies

Forms :: How To Make Form Full Screen

Jan 11, 2011

to make my form full screen. i need the screen to be on top of the task bar and on top over any other application that is running behind it.

View 3 Replies

Forms :: How To Make Form To Wait For Some Time

Nov 9, 2010

I am trying to fetch some specific data from a file which is updated frequently. So, i am trying to make my form wait till i get a particular data. i am using Threading.Thread.Sleep(10000)to wait and again check the data.

but form is getting hanged (showing NOT RESPONDING)

How can i make my form to wait for some time?

View 1 Replies

Forms :: How To Make Form With Login Level

Aug 13, 2009

ok well eh i have a interface where i can login, but i must set the status to tell whether i am student or staff login.

View 1 Replies

Forms :: Make Form Cover Whole Screen?

Aug 15, 2010

I want to make a software for game zone when running user should only see the form and also how to remove closebox.

View 1 Replies

Forms :: Make Question Wizard In Form

Mar 20, 2011

how can i make wizard on certain form ;for example form have question multi choice when i select on of them show next button when i click on next button show next question and choice.

View 1 Replies

Error In When Make An MDI Parent Form To Call Other Forms

Nov 17, 2009

I'm trying to make an MDI parent form to call other forms. I have put this code which I found in a post here into the main form which I added to my project as an MDI parent form:

[Code]...

I get an error message which say FrmEmbed is not defined. How can I correct this?

View 4 Replies

Forms :: Make A Moveable Form In Case Let Off The Title Bar

Jul 29, 2009

here's how to make a moveable form in case you let off the title bar
(formborderstyle = none ) Dim down, init, curpt As Point

[Code]...

View 2 Replies

Forms :: Make A Textbox Invisible When The Form Is Executed?

Feb 5, 2010

I have 2 textboxes one for datetime picker and another for entering the name. i waant to make the datetime textbox invisible when the form is executed & when i press save the data from both textboxes should be saved into the database.

View 3 Replies

Make A Form (windows Forms) Minimize To The Task Bar Using VB 2010?

Jan 7, 2011

I'm using VB 2010 and simply want to have a button on the form that says Minimize.I want the form to minimize to the task bar or the notification section .I've looked at other ideas, but the code is for prior versions of VB (2003 and 2005) and some for C #Could you please email me some sample code to handle this?

View 4 Replies

Forms :: Make The Window Form Always Full Size Inside The MDI Container?

Jul 12, 2011

I 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 Replies

Pass A Variable To Another Form Or Else Make The Variable Visible To Both Forms?

Sep 5, 2010

Using Visual Basic 2008 Express. I need to pass a variable to another form. Or else make the variable visible to both forms.

View 4 Replies

Print The Contents Of A Scrollable Panel?

Mar 6, 2012

I want to print the entire contents of a scrollable panel in VB 2008 express. I am an intermediate learner but still can't fathom many of the guidelines given. There is nothing to bridge the gulf between "Hello World" level and more sophisticated (but not cosmic) tasks.

[Code]....

View 2 Replies

Scrollable Control - Centering Button Pan?

Jun 2, 2011

Is there a way to enable a default pan behavior in the .Net scrollable control when you press down on the center scroll button, or Is that a behavior you have to implement yourself? You know like in some programs where you press down on the center button and it give you an arrow cursor that pans whichever direction you move the mouse?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved