Can Zoom Form While It Is Active

Mar 20, 2012

i want to know is there any way i can zoom my form in vb.net. i could resize the form and byanchoring all controls to left top right bottom i can make it look like zoom. but it is not actually zooming. it is resizing. while font size and other formats are still as same.

View 1 Replies


ADVERTISEMENT

VS 2005 Get The Active Control Of The Active Form?

Mar 30, 2009

I want to get the active control (control which has the focus or where the cursor is on) each time the cursor moves to another control or each time a control receives a focus.

View 5 Replies

Zoom In/zoom Out Screen Display/output?

Apr 4, 2009

How can I zoom in/zoom out screen display? This is to be used for people having eyesight problem. I want to control the screen resolution by percent and not to any fixed size provided in control panel/display settings.I have to control the output of the main display and zoom in/zoom out by percent, according to user's eyesight matching

View 3 Replies

[2008] Zoom In And Zoom Out Document In Webbrowser?

Aug 26, 2008

Is there a way to zoom in and zoom out document in webbrowser?

View 1 Replies

How To Zoom A Form

Nov 16, 2011

I need to zoom a form with many controls on it. I'm making a web maker project for Vietnamese but I don't know how to zoom a page (form without system bar)

View 2 Replies

Any Way To Zoom In On PictureBox In Form?

Apr 23, 2011

I finished making a top view shooter game that shows the whole map from above. The map is kind of big so the characters that move around are kind of small. Is there anyway to zoom in on the main character (a picture box), but still keep all the original properties of the form?

View 1 Replies

VS 2008 Zoom In / Zoom Out Option?

Oct 30, 2009

I created a Zoom in and Zoom out function for my application and it works great. I would just like your opion on my code, because I am wondering if it can be done a bit neater and more effective.

ts = ToolStrip
cms = ContextMenuStrip
vb.net
If Me.Font.Size < 30 Then

[Code]...

Me.form.font changes the font of all the controls except toolstrips, contextmenu's and menustrips.

Any idea's if this can be done any neater or how you can make menustrip etc.. use the font of the form?

Edit:This is the Zoom In version btw. The Zoom out is identical except it uses - instead of + when declaring the newFontSize.

View 1 Replies

Add Functionality Of Zoom In And Zoom Out?

Oct 13, 2010

vb.net how to add functionality of zoom in and zoom out

in AxWebBrowser in vb.net using buttons .

I am able to do it using ctrl + mousewheel but how to do it programatically.....

If I open an excel file in the axwebbrowser then this functionality will work or not ..

View 3 Replies

Zoom In And Zoom Out A Richtextbox ?

Jul 19, 2011

how to zoom in and zoom out a richtextbox in vb.net.

View 4 Replies

Zoom In And Zoom Out PictureBox

Apr 7, 2011

i have map of a State, i need to let the user to Zoom in amd Zoom out and show some buttons on the Picture if we zoomin or zoomout the buttons also will be moved according to the location like google map how to achive this?

View 9 Replies

Write Text From A Parent Form To The Active Mdi Child Form VB 2010

Jan 28, 2012

It has to be a simple line of code but I do not know how to construct it. Using VB 2010 Express, I have a MDI parent form and many child forms. I want the parent form to determine what child form is active and load data into the RichTextBox1 on the child form. Each Child form has a RichTextBox1. The parent form gets its data by loading a file.

I am close to a solution but just can't get there. You will see in the code below, if I make a direct reference to a specific child form, it works great. What I want to do is to use the Active Form function to determine which form to write to. I have looked at the MS tutorial which gets me close.

Private
Sub OpenToolStripMenuItem_Click(ByVal sender
As System.Object,

[Code].....

View 6 Replies

Bring A Form To The Front As Active Form

Jul 14, 2009

I am trying to have any only one form type eg Countries, Projects, or Vendors etc. open at the same time. So, if a user has the Country form open and goes to open it again from the menu I would like the applaication to bring the form to the Front of the MDI container. I have tried a number of things like BringToFront, ActivateMdiChild, etc.

[Code]....

View 3 Replies

A "preview" Form To Zoom Inside A Picturebox?

Oct 5, 2010

I would like to prepare a preview window to zoom inside a picturebox. In my form, I have a picturebox (name picSource1) and inside the same picturebox, I have some other pictureboxes (like picsmallSource1). All of them make a detailed whole photo. My aim is to make a new form with a new picturebox (name it picDestination) so that when mouse comes over the source picSource1 (and of course the other small pictureboxes inside this), Form2 becomes visible and picDestination shows the zoomed part where the mouse cursor shows. So while the mouse moves over the image, the new picturebox shows in real time the zoomed version.

Public Class ImageEventArgs
Inherits EventArgs
Private _image As Image

This code works very fine but I should revise it to somehow "overlay" the picturebox1 with other small pictureboxes, isn't it?

View 5 Replies

Determine Active Form Name?

Apr 20, 2010

When debugging in VB6 it was easy to find the name of the active form because it was automatically highlighted in the Project Explorer.

How do I find the name of the active form in VS2010?

View 7 Replies

Get Active Control Of Form?

Mar 30, 2009

I want to get the active control (control which has the focus or where the cursor is on) each time the cursor moves to another control or each time a control receives a focus.

View 1 Replies

Get The Text Of The Active Form?

Apr 6, 2010

I need to build a program that can get the form's name of whatever window/application that is currently active/in focus. How do I do that?

View 2 Replies

How To Put An Active Login Form

Jul 30, 2010

I would like to put an active login form where by if one fails toput the correct password after 3 trials the program exits

View 1 Replies

MDI Application - How To Get Active Form

Mar 11, 2010

I have a mdi application. When some childforms are open (but only one is active) and the user press a button, I want to know, what form is open, because depending on this, an event will fire up. I imagine this so: at first I determine the active form with a separate function. And then with a select case statement the event will be fired up. How can I make this?

View 2 Replies

Active Directory Groups In Form

Sep 18, 2008

I am writing an application where active directory validation is required before accessing the main form. There are 2 forms. Form 2 is the login form and form 1 is the main form. The main form would have a simple look, with about 10 checkboxes.I have managed to get the authentication working great but what now need to do is validate groups. Say if "user A" is in "groups A,B and C" and "user B" is in "groups B and C" i would like for them to use my login form, once they log in, the groups that they are members of would appear in a listbox on either form, (whichever is easiest) and is hidden from the user ... if they are in group A, then the main form would show only the first 3 checkboxes, if they are in group B, then it would show the 4th and 5th checkboxes, if in both groups then show the first 5 checkboxes etc.It is a simple idea, but is complicated to explain.As i said, the login form is working with the active directory... here is the code for the login form:[code]Form1 in the code is my main form, and wish for it to change according to which groups the user is in.

View 9 Replies

Active Form In Windows Application?

Oct 7, 2009

I am developing a Windows Forms application. I have four forms which is inherited from Baseform in another project. In all four forms I am using a label to show some transaction count based on network status. I have implemented a thread which gets the active form of application and setting up the text. The code works fine if application screen is active. If I minimize and open any other application, I am getting an null error exception.

How do I get the active form of an application?
Private Sub StartThread()
pollThread =New Thread(AddressOf PollfileStatus)
pollThread.IsBackground =True
running =True
pollThread.Start()
[Code] .....

View 2 Replies

Forms :: Detecting If Form Is Active

Jun 2, 2011

I am new to vb.net and what I want to do is change the bg color if my form is active.
I have tried searches and try and fail but I cant figure it out

View 9 Replies

Forms :: Set The Form As The Active Window?

Mar 4, 2011

I was wondering if there's a method to set the form as the active window (not topmost obviously), if it's currently not the active window (meaning another window is currently the active one). By active I mean "selected".

View 1 Replies

Get Active Form Caption Color?

Aug 3, 2009

How can i get the color of the caption of the active form in winforms?

View 1 Replies

Get The Contents Of The Active Child MDI Form?

Jul 20, 2010

I want to get the contents of the active child MDI form, how do you do that? Here's what I did to create a child form.

childForm += 1
If childForm > UBound(childForms) Then
ReDim childForms(childForm)

[Code].....

So say I want to get the text from an active form. How can I get the active form id so I can just do this?

childforms(childform).textbox1.text

View 1 Replies

How To Close An Active MDI Child Form

May 31, 2011

I just starting to use MDI form. I can show the child MDI form, without any problem. My problem is that I want to close the child form also from the parent menu bar. This is my code:

Private Sub CloseToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CloseToolStripMenuItem.Click
Dim frmActive As Form = Me.ActivateMdiChild

[code].....

View 3 Replies

How To Find Name Of Active Control On Form

Mar 12, 2009

I'm an old Access developer and know VBA quite well, but now I'm working at learning VB.net. I'm trying to find the equivilent of the following Access VBA code using VB.net:

Function EvalField()
Dim x As Integer, ctl As Control
Set ctl = Screen.ActiveControl
x = Val(Mid(ctl.Name, 5))
Screen.ActiveForm.Controls("Formula" & x) = ctl
ctl = Eval(ctl)
UpdateTotal
End Function

This code sets a control variable to the currently active control, then copies the text from that control into it's matching "Formula" field for reference by the user), then turns the string of math into the answer. For example, if the user enters 5 + 4, that will be copied to the Formula textbox, then it will be evaluated and the answer will replace the 5 + 4. And lastly, the UpdateTotal sub will execute which will add this answer to the existing Total field.

View 1 Replies

Resize Active Main Form?

Dec 25, 2009

The form my application starts with is called Form1.

now if i have another form called form2 and call

form2.width=500

when you press a button on form1 then form2 is resized to 500

BUT if I call

form1.width=500

from the same button Form1 is NOT resized why is this?

View 2 Replies

Displaying Active Date And Time On Form

Mar 11, 2010

I've got a module for my program thats displays the active time and date, on a form. For some reason my code is incorrect and nothing happens when I run the form. Heres the code I have in the module:

Module ModDateAndTime
'Declares tmrdat as a timer with events
Public WithEvents tmrdat As Timer
'declares lbldat as a label
Public lbldat As Label
[Code] .....

And the code in the form's:
'declares lbldat as lbldateandtime
lbldat = lblDateandTime
The relevant label in the form is named lblDateandTime

View 12 Replies

Embed Form In Titlebar Of An Active Window?

Oct 7, 2009

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

Exit Application When Parent Form Active?

Jun 9, 2012

I have created an application which has a parent form and various child forms, when all child forms are closed and only the parent form is viewable would it be possible to exit the application?[code]...

View 3 Replies







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