473,405 Members | 2,187 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

A97... If I run Me.Visible = False in a form module, should Unhide be an option under "Window" menubar option?

MLH
Is there any case you can imagine that A97 would NOT display the
Unhide option under the Window menu after running this line...

Me.Visible = False

Yes, its happening to me. The Unhide choice is grayed out after
running this line on a form that was opened with the acDialog parm.
Guys, this wierd stuff I'm encountering, could some hardware issue
be responsible or would a viral element be more likely at fault?
Nov 13 '05 #1
7 1986
On Fri, 22 Jul 2005 09:22:20 -0400, MLH <CR**@NorthState.net> wrote:
Is there any case you can imagine that A97 would NOT display the
Unhide option under the Window menu after running this line...

Me.Visible = False

Yes, its happening to me. The Unhide choice is grayed out after
running this line on a form that was opened with the acDialog parm.
Guys, this wierd stuff I'm encountering, could some hardware issue
be responsible or would a viral element be more likely at fault?


Just a guess, but is your form a Popup?
Nov 13 '05 #2
MLH wrote in message <4t********************************@4ax.com> :
Is there any case you can imagine that A97 would NOT display the
Unhide option under the Window menu after running this line...

Me.Visible = False

Yes, its happening to me. The Unhide choice is grayed out after
running this line on a form that was opened with the acDialog parm.
Guys, this wierd stuff I'm encountering, could some hardware issue
be responsible or would a viral element be more likely at fault?


Some of the other guys might now the why, but for popups, forms
opened with the acDialog option, it's quite common on my
setups.

--
Roy-Vidar

Nov 13 '05 #3
MLH wrote:
Is there any case you can imagine that A97 would NOT display the
Unhide option under the Window menu after running this line...

Me.Visible = False

Yes, its happening to me. The Unhide choice is grayed out after
running this line on a form that was opened with the acDialog parm.
Guys, this wierd stuff I'm encountering, could some hardware issue
be responsible or would a viral element be more likely at fault?

Happens to me too in pop-ups. Won't show up on the unhide menu option.

For development purposes, just go to the forms tab and double click/open
the form. It will appear again.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Nov 13 '05 #4
MLH
No. My form's popup property is set to No.

Just a guess, but is your form a Popup?


Nov 13 '05 #5
MLH
Yeah, same here. I verified the hidden form was actually open by
trying to rename it (wouldn't let me rename open form) and by running

? SysCmd(SYSCMD_GETOBJECTSTATE, acForm, "frmVehicleChooserForm")

The value returned equaled acObjStateOpen. So, no question about
it being OPEN and HIDDEN. Nevertheless, you cannot unhide it from
the menubar, that much is for certain. As for why, unless it can be
fixed, WHY doesn't matter.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Some of the other guys might now the why, but for popups, forms
opened with the acDialog option, it's quite common on my
setups.


Nov 13 '05 #6
MLH <CR**@NorthState.net> wrote in
news:4t********************************@4ax.com:
Is there any case you can imagine that A97 would NOT display the
Unhide option under the Window menu after running this line...

Me.Visible = False

Yes, its happening to me. The Unhide choice is grayed out after
running this line on a form that was opened with the acDialog
parm. Guys, this wierd stuff I'm encountering, could some hardware
issue be responsible or would a viral element be more likely at
fault?


I'd think that wouldn't actually be a problem. Why would you want an
end user to unhide through the menus a dialog form that you've
hidden in code?

I'm really *glad* it works that way!

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #7
MLH <CR**@NorthState.net> wrote in
news:0n********************************@4ax.com:
Yeah, same here. I verified the hidden form was actually open by
trying to rename it (wouldn't let me rename open form) and by
running

? SysCmd(SYSCMD_GETOBJECTSTATE, acForm, "frmVehicleChooserForm")

The value returned equaled acObjStateOpen. So, no question about
it being OPEN and HIDDEN. Nevertheless, you cannot unhide it from
the menubar, that much is for certain. As for why, unless it can
be fixed, WHY doesn't matter.


It's a dialog. It's not a user form, but a form that is used as part
of your controlled sequence of events (hence the acDialog argument).
You don't *want* the end user to be able to unhide it from the menu,
as this would mean they'd be getting to an object that's part of a
sequence of events and might do so outside the proper sequence.

This is a feature.

This is the right way for it to have been implemented.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Shiperton Henethe | last post by:
Hi Can anyone tell me how to open up a new normal, full-sized browser window from a small popup window? I'm using something like this. <script language="javascript"> <!--
2
by: D | last post by:
I don't know much about this. Clients want a new "printer friendly" page to open when clicking on a link. I think it can't be done in a way that won't trigger the common pop up blockers out...
2
by: John Mack | last post by:
Intermittently I get the following error on Firefox: "Error: uncaught exception: Permission denied to get property HTMLDocument.window" What can cause this error? I do an image switch via JS...
6
by: Martijn Coppoolse | last post by:
Hello everyone, I've got two little apps which are able to create a window that displays something on the desktop, but are not clickable. Instead, when you click on the window, the item...
10
by: morangolds | last post by:
Hi, I've been having a problem with C++ Windows Forms apps not "ending" when you close the form window. I've searched about this problem all over the place and most searches have lead me to...
1
by: R Reyes | last post by:
Hi, For some reason, the website I made does not open pages in a new page whenever I right-click "Open in New Tab" or "Open in New Window". But, as soon as I navigate to any other website, the...
4
by: arajunk | last post by:
In Firefox this opens a full size window (maximized) . In IE it opens the partial window requiring user to click restore (upper right) to maximize. What am I missing ? var...
11
by: gg9h0st | last post by:
i saw a code refactorying onload event listener window.onloadListeners=new Array(); window.addOnLoadListener=function(listener) { window.onloadListeners=listener; } why declare the...
24
by: Jeremy J Starcher | last post by:
While reading c.l.j, I've noticed that some people prefer and indeed even recommend the use of "window.alert()" over "alert()". I can't find any technical reason to make this distinction, and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
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...
0
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...
0
tracyyun
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.