IDE :: Dragging Forms In IDE

Nov 1, 2010

In previous versions of VB, you could drag or move the form to a convenient spot on the IDE. With 2010 express, the form is in the upper left hand corner and will not move. The toolbox essentially hides it.I have not been able to find a setting that changes this condition.

View 2 Replies


ADVERTISEMENT

Forms :: Dragging Around The Form?

Jan 27, 2011

Been a while since i've bothered you gentlemen with my questions, but im back! So, I want to know, how I would be able to drag a picturebox around a form, liek a drag and drop functionality, but I dont want to move folders. Just move it around the form.

View 4 Replies

COMException When Dragging DataGridViewSelectedRowCollection

Feb 8, 2010

I've got a small problem that is nagging at me right now. I'm implementing a DataGridView to DataGridView drag and drop opperation. Here is the line that starts the Drag and Drop opperation:

dgvSource.DoDragDrop(New DataObject(dgvSource.SelectedRows.GetType.ToString, _
dgvSource.SelectedRows))

View 1 Replies

Dragging File From One Tabpage Into Another?

Aug 21, 2009

I cannot get the dragdrop event to fire when I drag a file from one tabpage to another tab page in the same tabcontrol. I can drag a file from my application and drop into windows explorer and and then drag from windows explorer into my app. That all works fine. And when I drag from one tabpage up to the top of the control, my program uses the tabcontrols dragover event to swap tabs....works fine also. ...Drag drop event fires...no problems

Say I have a list box with files on one tabpage, a list box with files from a different directory on another tabpage, I want to be able to drag the file over and drop it into the other listbox.I have done lots of testing on the variables in the dragdrop handlers to see if they are recognizing the switch in controls and they are. But the dragdrop event will not fire.

View 9 Replies

Dragging In Limited Area Only?

Sep 3, 2011

Im working on 'Virtual iPod Touch' project and I'm almost done..but one thing annoying me..im using drag 'n' drop to make lock slider..1 got 1 picturebox with lock arrow and 1 black (transparent/invisible) with allowed dropping...and its all ok but I want only I can slide (move mouse) in area for sliding (see a picture, but I think all of you understand).

View 12 Replies

Dragging Several Pictureboxes Around The Form?

Jul 16, 2009

the user has the option of dragging several pictureboxes around the form. when he lets go of the mouse, the picturebox will take on a new position on the form.

i would like to implement the following:

on mouseup, if the picturebox position is within some amount maybe 50 or 100 (i dont know what units VB.net) uses, i would like it to be dropped exactly in a defined position. sort of like if you play checkers on yahoo games, you dont have to place the piece exactly on the square only approximately.

View 1 Replies

VS 2008 Dragging A Drawing?

Sep 12, 2009

Dim fnt As New Font("Verdana", 16)
Protected Overrides Sub OnPaint(ByVal pe As PaintEventArgs)
Dim g As Graphics = pe.Graphics

[code].....

View 17 Replies

VS 2008 Dragging And Dropping?

Jun 22, 2009

Right now I have checkboxes on my form, and depending on what check box I check, the value of it gets put into a text box. So if I check "Right Eye", the texb ox below it gets "Right Eye" placed there.

I would like to do away with the check boxes and instead have a new form pop up with a list of words that gets populated from a table. Is it possible to be able to drag and drop these words into a text box? I guess I could use a List Box control for that but I'm unsure how to implement drag and drop. Maybe be able to multi-select words and then drag them all to a certain text box.

I'd like to have give the user the option of adding and deleting words from that form as they see fit, so could I just let VS do that for me by dragging the datasource onto the form and have it create a bindingnavigator or should I do it myself?

View 9 Replies

Add A Link To Toolbar By Dragging The Shortcut Onto It?

Dec 1, 2011

I can add a link to my toolbar by dragging the shortcut onto it, and Process.Start(lnk) runs it so far so easy, and i end up with e.g. lnk = "C:Documents and Settings....XXX.lnk"

how to extract the Icon assosciated with the shortcut lnk

View 2 Replies

Arranging ListView By Dragging Items

Sep 20, 2009

I'm working on a little program that uses a ListView box. I'd like to know if you can arrange the list by dragging the items within the ListView box. Example: I'd like to be able to just drag the bottom item to the top, or the middle item to the bottom, and so on. I guess I'm just wondering if I can move items around using the mouse by dragging them around within the ListView box.

View 3 Replies

Disable Dragging Of A Maximized Form?

Oct 30, 2011

After maximizing a form, if I drag the title bar, the form moves out of position. This seems to be normal in windows, since IE does it also, but can I disable this? so the form stays fixed and unmovable?

View 1 Replies

Dragging A Record From A Linked File?

Apr 29, 2012

I'm having trouble dragging a record from a linked file. The structures for the three files

Customer File:
First Name
Last Name
Address etc

[Code]...

how do i then display all the records in the booking file, in a listbox - but to also populate the relevant details from the other files. Example: after displaying the Customer ID in the booking file, to get the first name and last name from the customer file.

View 2 Replies

Dragging An Object In A Limited Area?

Aug 26, 2011

I want to create a dial which is basically a circle that I can drag around in a circular motion. Ive looked at using the code in an earlier post which allows you to drag items around a screen but I cant figure out how to confine the movement so it only allows the user to drag this circle around in a circular motion. Any coordinate altering I do just looks snappy.

View 6 Replies

Dragging The Button Control At Runtime?

Sep 3, 2009

I have already created the provision to allow the user to create and delete the button control at runtime. But now i am stuck at the dragging part. I am planning to let the user to drag the button using the mouse click event and the keyboard (left,right,up and down) key event.

May i know if there is any codes that allow the user to drag the button control around?

the below is my code for the creation and deletion of button controls at runtime.

Public Class Form1
Dim tm As New Timer
Dim Index As Integer = 0

[Code]....

View 2 Replies

How To Drag Form About By Dragging Panel

Apr 1, 2009

if i add a panel1 how would i drag the form about by dragging the panel i have this code from VB6 and i have tried upgrading it in visual basic 2008 (that never seems to work :|)

View 2 Replies

Move A Form, By Dragging An Image?

May 29, 2009

I have made a borderless form, but i still wish to be able to drag it around the screen.

But i dont have a normal background, ive got an image that covers it. I wish to be able to drag this overlaying image around the screen. Ive found code examples that allow you to drag the form, but you have to acctually drag the form.... Not the image (i couldn't adapt any of them)

View 5 Replies

VS 2008 - Sort Datagridview By Dragging?

Sep 28, 2011

I have a datagridview showing data from an Access database. I have dragged the datagridview from "Data Sources" window - and not written any code. In bindingsource I have choose to sort on an autonumber field. Is it possible to let the user use the mouse to change the order, and the database to remember this the next time the user starts the application.I guess I have to have a number field in the database, and write code to change the value in number field as the user change order - and then save this back to the database? Does the datagridview support changing order by mouse at all?

View 1 Replies

VS 2008 : Dragging Two ATTACHMENTS From OUTLOOK Into App?

Jun 29, 2009

how to handle a single attachment being dragged from Outlook - basically this code gets the filename:

Dim fStream As Stream = DirectCast(e.Data.GetData("FileGroupDescriptor"), Stream)
Dim fileGroupDescriptor(512) As Byte
fStream.Read(fileGroupDescriptor, 0, 512)

[code]....

View 2 Replies

VS 2008 Disable Dragging A Form?

Feb 4, 2010

How can i disable a user from dragging a form , with using form border style (None). I want to use a fixed singl border style.

View 3 Replies

VS 2008 Dragging A Folder To Listview?

Oct 3, 2009

I know how to drag a file to a listview, my question is regarding folders... How can I add a folder to the listview? I know a folder is not a file, but, is there a way to "recognize" it as a folder and then add any icon in its place?

View 2 Replies

What Is The Cursor That Windows Uses For Standard Dragging

Mar 25, 2010

I don't know if I have gone blind, or if I am just searching in the wrong place, but what is the cursor that Windows uses for standard dragging, and where is it found? I can see the icon that is used when something is dragged over a control that is not a drop target, but not the control that is used for dragging elsewhere.

View 16 Replies

C# - Functionality Using .net To Select An Area By Dragging At Runtime?

Apr 29, 2011

I am trying to code in .Net to select an area and the area will be where ever in the form, that is not restricted to a control and asusually the area appears like a square by dragging using mouse at runtime on the form and if on clicking on a button for ex "Save" i.e., saving the selected area and when the next time the page loads that particular area should be clickable.Right now i have no idea where to start but if some idea is given it will be more helpful to me to develop some code for this functionality. Does any one give a small idea that how can I do this functionality, so that I can proceed developing code?

View 2 Replies

DB/Reporting :: Errors After Dragging Datasource To Form?

Mar 22, 2011

Whenever I setup a database connection, and then drag items from it onto my forms, I get errors! 102 of them to be precise.All I've done is create a data connection, add the datasource, created relationships and then dragged items ome. I've been working with databases for a while and have never had this problem when taking these steps.

View 7 Replies

Display Thumbnail While Dragging Said Picbox Image?

Apr 16, 2010

If you drag something like a picture in explorer it displays its icon or thumbnail ,can this be achieved in vb.net? ,i have two forms ,form1 is a boarderless form with just a pic box ,now i can drag n drop this to another form with easy. but is thay away to display its thumbnail while dragging said picbox image?

View 2 Replies

Dragging Picturebox Inside Winform On Runtime

Nov 20, 2009

i need to be able to drag and drop my picturebox with an image in it around my winform in vb.net.

View 2 Replies

ListView - Finding The User Dragging Left Or Right End?

Aug 2, 2010

When the user drags to left, I have to add the item to previous row. When the user drags to right, I have to add the item to nect row.

The below code is not working as expected. each row has 5 items. When the user drags to right in the first row, It is giving the TargetIndex as 5. It is giving the same value for targetindex, when the user drags the item in 2nd row to left end.

Private
Sub PictureList_DragDrop(ByVal
sender As System.Object,

[Code]....

View 1 Replies

VS 2008 Disable User From Dragging A Form?

Jun 28, 2010

Is there a way to disable a user from dragging a form other than setting the form border style to "None" ?

View 8 Replies

VS 2010 Make Program Move By Dragging Anywhere?

Jan 4, 2012

Normally you would move a program around by dragging the bar at the top of the window, agreed? How can you change a form in VB to move around when dragging anywhere on the form apart from a button?

View 17 Replies

VS 2010 Programming Or Dragging Bound Controls?

Oct 20, 2011

In an earlier post today [URL].. jmcilhinney in post #9 says,Quote: If you're going to use a DataSet at all then there's no reason not to use a typed DataSet. I would not recommend dragging items from the Data Sources window directly onto a form but that is not a requirement of using a Data Source.

I was wondering what is the down side of dragging items onto the form. I don't mind doing the manual programming, I would just like to know the reason I'm doing it.

View 3 Replies

Allow User To Resize Drawn Rectangle By Dragging Border?

Feb 24, 2009

I want to write a vb program to allow user to draw rectangle. User can click on a point as starting position and drag on the screen. A rectangle is drawn with the current mouse position and the starting position. The user then release the mouse as end position. When the rectangle is drawn, user can resize the rectangle by drag the border of the rectangle.

View 2 Replies







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