Hi,
I have a form (formA) which is maximized. On that form I have a button which
opens formB in restore-mode. But when I leave formB, I don't get formA
maximized on the foreground, but it's the switchbox which is showed in
maximum.
Is there a command where I can select a form which is stil open on the
background?
Thanks in advance. 4 1654
Add this to the on close event of form B
Private Sub Form_Close()
DoCmd.Maximize
End Sub
--
Reggie www.smittysinet.com
----------
"TTD" <tt*@hotmail.co m> wrote in message
news:c8******** ***@beast.euro. net... Hi,
I have a form (formA) which is maximized. On that form I have a button
which opens formB in restore-mode. But when I leave formB, I don't get formA maximized on the foreground, but it's the switchbox which is showed in maximum.
Is there a command where I can select a form which is stil open on the background?
Thanks in advance.
Thanks for reaction Reggie,
but I already did this. Problem is that when the form (formB) closes, I woul
expect formA te be in front again, but it's the switchbox that appears
maximized. So I'm looking for a command to select the windows from formA to
get back to the forground again.
"Reggie" <no**********@s mittysinet.com> schreef in bericht
news:-7************** ******@comcast. com... Add this to the on close event of form B
Private Sub Form_Close() DoCmd.Maximize End Sub
-- Reggie
www.smittysinet.com ---------- "TTD" <tt*@hotmail.co m> wrote in message news:c8******** ***@beast.euro. net... Hi,
I have a form (formA) which is maximized. On that form I have a button which opens formB in restore-mode. But when I leave formB, I don't get formA maximized on the foreground, but it's the switchbox which is showed in maximum.
Is there a command where I can select a form which is stil open on the background?
Thanks in advance.
When you open formB I aasume you aren't closing formA so that formA is still
loaded. If so try this
Private Sub Form_Close()
Forms!formA.For m.SetFocus
DoCmd.Maximize
End Sub
If formA is closed and you want to re-open it when formB closes
Private Sub Form_Close()
DoCmd.OpenForm "formA", acNormal
Forms!formA.For m.SetFocus
DoCmd.Maximize
End Sub
Hope this helps!
--
Reggie www.smittysinet.com
----------
"TTD" <tt*@hotmail.co m> wrote in message
news:c8******** ***@beast.euro. net... Thanks for reaction Reggie,
but I already did this. Problem is that when the form (formB) closes, I
woul expect formA te be in front again, but it's the switchbox that appears maximized. So I'm looking for a command to select the windows from formA
to get back to the forground again. "Reggie" <no**********@s mittysinet.com> schreef in bericht news:-7************** ******@comcast. com... Add this to the on close event of form B
Private Sub Form_Close() DoCmd.Maximize End Sub
-- Reggie
www.smittysinet.com ---------- "TTD" <tt*@hotmail.co m> wrote in message news:c8******** ***@beast.euro. net... Hi,
I have a form (formA) which is maximized. On that form I have a button which opens formB in restore-mode. But when I leave formB, I don't get formA maximized on the foreground, but it's the switchbox which is showed in maximum.
Is there a command where I can select a form which is stil open on the background?
Thanks in advance.
Thanks,
good tip, works fine....
"Reggie" <no**********@s mittysinet.com> schreef in bericht
news:-a************** ******@comcast. com... When you open formB I aasume you aren't closing formA so that formA is
still loaded. If so try this
Private Sub Form_Close() Forms!formA.For m.SetFocus DoCmd.Maximize End Sub
If formA is closed and you want to re-open it when formB closes
Private Sub Form_Close() DoCmd.OpenForm "formA", acNormal Forms!formA.For m.SetFocus DoCmd.Maximize
End Sub Hope this helps!
-- Reggie
www.smittysinet.com ---------- "TTD" <tt*@hotmail.co m> wrote in message news:c8******** ***@beast.euro. net... Thanks for reaction Reggie,
but I already did this. Problem is that when the form (formB) closes, I woul expect formA te be in front again, but it's the switchbox that appears maximized. So I'm looking for a command to select the windows from formA to get back to the forground again. "Reggie" <no**********@s mittysinet.com> schreef in bericht news:-7************** ******@comcast. com... Add this to the on close event of form B
Private Sub Form_Close() DoCmd.Maximize End Sub
-- Reggie
www.smittysinet.com ---------- "TTD" <tt*@hotmail.co m> wrote in message news:c8******** ***@beast.euro. net... > Hi, > > I have a form (formA) which is maximized. On that form I have a
button which > opens formB in restore-mode. But when I leave formB, I don't get
formA > maximized on the foreground, but it's the switchbox which is showed
in > maximum. > > Is there a command where I can select a form which is stil open on
the > background? > > Thanks in advance. > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: JT |
last post by:
I have an input form for which I've created a "matrix" for user input.
Basically, the user chooses a radio button and then through javascript, a
select box is displayed to define a value for that radio option, like so:
Choice: (Radio1) type: (select box1)
Choice: (Radio1) type: (select box2)
Choice: (Radio1) type: (select box3)
Choice: (Radio1) type: (select box4)
Choice: (Radio1) type: (select box5)
|
by: kaeli |
last post by:
All,
I have need of a readonly select element that looks and acts disabled to
the user. The problem with the disabled attribute is that the value
isn't passed to the handler, so I'm using readonly. Problem with
readonly is that is allows focus, which when the user highlights, then
hits backspace (as if to change the field), the browser does a
history.back. This is confusing to users.
The following code works great in NN6, but IE...
|
by: Jeff Anderson |
last post by:
Is there a style for a select option's "selected" color? For example:
<HTML>
<BODY>
<FORM NAME="form1">
<SELECT NAME="mySelect" SIZE="7" style="background-color:red;">
<OPTION>Test 1
<OPTION>Test 2
<OPTION>Test 3
<OPTION>Test 4
|
by: Rolf Brauser |
last post by:
Hi,
is it possible to style the elements from an dropdownmenue <select>
<option></option> </select> tag ?
Thanks for any help.
Rolf
|
by: Eric Trav |
last post by:
Hello,
I am using mozilla and javascript to change the style background color
for my select with onfocus() and back to white with onblur().
When i process onfocus(); i have to click on the select three times to
get the popup menu and everything seems slow. No errors are reported
in the console however it seems as if the click event is not being
processed after the focus event is processed.
| |
by: Richard Maher |
last post by:
Hi,
I have this Applet-hosted Socket connection to my server and in an
ONevent/function I am retrieving all these lovely rows from the server and
inserting them into the Select-List. (The on screen appearance of the Select
List grows for the first 5 rows then the scroll bar appears if there's
more). So far so good. . .
The problem is that none of the rows I'm inserting appear on the screen
until I have RETURNed from my function; so If...
|
by: fran7 |
last post by:
Hi, I want to replace the input type="radio" with a dropdown <select>. I wonder if anyone could tell me how to adjust the javascript. I have tried replacing "checked" with "select" but it didnt work.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Name</title><script src="/js/validatesearch.js" type="text/javascript"></script>
</head>
<body>
|
by: jeddiki |
last post by:
I want to change the default background color of my select box.
Here is the problem:
Link to form with color select
Notice in the color selector, the background color that I have given it
it the option statement changes on hover to a blue/gray.
Instead of background color change I would like the text to BOLD.
So on hovering over green, the text "green" goes green (bold) but
|
by: muneebkiani |
last post by:
<?php
session_start();
$username=$_SESSION;
if($username=="")
header("location:login.php");
if($_SESSION!=1)
header("location:login.php");
include('include/connect.inc.php');
$user=$_SESSION;
|
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: 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: 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: 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...
| |