|
by: Curtis Justus |
last post by:
Hi,
I currently have a control that is on a form and I want to pass that
exact instance of the control to another form (a child form that
appears on a button click). The control has state, etc. that works with
both forms.
In my button click on FormA, I take my control and pass it to a constructor
in FormB. Here is the code in the constructor:
|
by: yuval |
last post by:
Hi
DragDrop event is fired by the control accepting the drop
If the drop is performed outside the controls I'm watching with events
(like on another control/panel/window or outside my app) is there a
way for me to know about it? (In MFC, for example, mouse movements are
captured)
Or do I just have to follow DragEnter/DragLeave and deduce from that?
|
by: Art |
last post by:
Hi
I'm new at this and need some help. I have a "solution" with 2 projects - the main project and a library. The library is simple, it contains a text box that will appear many times in the form in the main project
My problem is that I would like events (leaving the text box) to be recognized in the main project. Alternatively I would like to be able to access classes in the main project -- I would like to be able to have the class with...
|
by: Robert S. Liles |
last post by:
I am trying to drag a text file and drop it into a multiline text box. I
get DragEnter, DragOver, and DragLeave events, but I don't get a DragDrop
event. I have AllowDrop set to TRUE for the textbox, the form the text box
is on, and the parent form that opens the form the text box is on. I am
using VB.NET 2002 with .NET Framework 1.0. How can I get the DragDrop
event?
TIA
Bobbo
|
by: bretth |
last post by:
In a VB.Net Windows Forms application, I have a user control that
handles mouse events. Another section of code programmatically adds a
label to the control. I would like label to ignore all events allowing
the user control to react to the mouse click.
Setting the Enabled property on the label to False comes close, but I
don't want the font color to change. Does anyone have an idea how .NET
implements the code behind the Enabled...
|
|
by: positivebalance |
last post by:
..net 2.0 richtextbox autodragdrop how to make the control respond to
Ctrl key for move copy?
it's handy to have the enableautodragdrop is true but two odd things I
notice:
1. when I first use the control it gives a no dragdrop allowed cursur
effect but on second dragdrop it works ok forevermore until I change
the e.drageffect.copy to e.drageffect.move or vice versa. always seems
to need some initialization but this is not...
|
by: SteveDouglas |
last post by:
Hi all,
I am currently writing an application in VB.NET that has a lot of controls (treeviews/listviews/labels and so forth) that represent "things" that need to be draggable from place to place, including between controls and windows.
In the past when I've implemented Drag and Drop in other projects, I've always passed the item being dragged (for example the listviewitem or the treenode) to the DoDragDrop and then retrieved it in the...
|
by: =?Utf-8?B?amJkYXZpcw==?= |
last post by:
I enable the AllowDrop property but there is no DragDrop or DragOver events
for the WindowsMediaPlayer control? I want to be able to drag a media file
onto the control and set the URL property to the filename so it will play.
What I did in VB6 was create a image control over the top of the media
player control and because it was transparent without an image assinged I
could use the image control dragdrop event and drag files over it and...
|
by: dutsnekcirf |
last post by:
I have a treeview control on a custom task pane in Excel. I've enable the ability to use Drag & Drop (by following this how-to) on the treeview to change the order of the nodes. The problem though is if I close the application and then go back in, the nodes are back in the order they were before I had reordered them. Is there a way that I can modify my DragDrop event to permanently change the index of the nodes?
Here's my code if you're...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|