|
by: vince |
last post by:
I have a windows app whose main dialog contains a button
that launches a form. I've tried using Form.Show() to
have it launch as a modeless form, but it behaves as if
it's modal (i.e. parent form can't receive focus)...
Can someone tell me what I need to do to make the child
form modeless..??? I want to be able to alternate focus
between both dialogs...
thanks,
|
by: Carmine |
last post by:
I'm currently writing a small program that churns on a repetitive task
while displaying a progress & cancel modeless dialog. I've been having
problems due to threadlocking, and I was wondering if anyone could
give me some advice.
Basically when I create the modeless dialog, I'm assuming that C#
under the covers will be implicitly creating a new thread for the
modeless dialog's message pump. Thus I protect the state determiners
with a...
|
by: Andrew |
last post by:
I get a Null Reference Exception if I close a modeless form (that is, a form
displayed using Show()) when a selection is made from a ComboxBox. If the
form is modal (displayed using ShowDialog()) or the selection is made from,
say, a ListBox, no exception is thrown.
I have included a simple example below. The error message refers to Unsafe
Native Methods, but the code is 100% managed. What is going on ?
I am using C#.NET 2003, Standard...
|
by: Legendary Pansy |
last post by:
Hello, I'm trying to accomplish the impossible by trying to do something equivalent of this example found here
http://www.c-sharpcorner.com/Code/2003/Dec/DialogTutorial.as
Starting with "Listing 2 - Changing the constructor of the modeless dialog to accept the parent object:" line and go onwards is what I'm trying to do
Basically, there is the main form, and then there's the modeless form. I want the modeless form act like a modal form,...
|
by: hagarwal |
last post by:
Hello
Can a modeless form be used as the "owner" of a modal form?
Here's the situation, from my MainForm, I have created a modeless form
using "Show" - and showed a modal form using "ShowDialog".
For some reason, if I do any user action on my modal form, it falls
behind the MainForm.
Any clues?
|
|
by: proit_123 |
last post by:
I am working on a windows forms application and have the following
requirement.
· I need to display a modeless dialog from the main form.
o This allows user to continue to work with the application.
o For the sake of example, the user could launch the modeless dialog
from Form A and navigate to a Form B in the main window.
· When the modeless dialog is closed, I need to perform certain logic
in the main form based on the form that is...
|
by: proit_123 |
last post by:
I am working on a windows forms application and have the following
requirement.
I have two projects in my application Project A and Project B. And
Project A has the reference of Project B. I need to display a modeless
dialog from the main form which is in Project A and the modeless dialog
to be raised is in Project B. After closing the modeless dialog i need
to pass a value from modeless dialog to the main form of Project A and
also i...
|
by: Ralstoj |
last post by:
Hi
I am programing in Autocad with VB
Autodesk have not given users access to new note function in Autocad CIVIL3d API. I am trying to work round this by creating notes using the sendkey command in Vb. I can get the add note dialog box to come up ok but it does not have focus as I believe it is a modeless dialog box as it gets focus when you move the mouse cursor over it.
What I am after is a VB eample on how to send key strokes to the...
|
by: BillE |
last post by:
Is there a trick so I can use a modeless dialog box in a master/content
webform?
I can display the modeless dialog, but it vanishes when a new content page
is loaded. I need it to stay visible while the content pages are
navigated.;
I was able to do this using framesets by putting the javascript which
displays the dialog in the frameset but this doesn't work with a master
page, since it is reloaded when the content page is changed.
|
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: 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: 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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|