Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / March 2007

Tip: Looking for answers? Try searching our database.

A2002: Form_Timer pops up the form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vladimír Cvajniga - 10 Mar 2007 12:51 GMT
I have a main dashboard form. I need to display some information that must
be visible whenever the user opens any form or report. Therefore I have a
floating form (no borders) which pops up when necessary. I need to
reposotion the pop up form whenever user repositions main Access window.
Access doesn't seem that it may handle Reposition event, see my post "Main
Access window: reposition" at
http://groups.google.co.uk/group/microsoft.public.access/browse_thread/thread/6c
5781194b964910/cbe016a7da9751c1?lnk=st&q=Main+Access+window%3A+reposition&rnum=1
&hl=en#cbe016a7da9751c1
.

That's why I tried to add a timer to the dashboard form. In Form_Timer I can
move the floating window according to main form position. The problem is
that dashboard's Form_Timer always pops up dashboard form. Is it a A2002
bug? Is there any known solution either for repositioning or for adding
various types of controls to menubar?

TIA

Vlado

P.S. In A97 there were also some Timer issues that corresponded with
reports. A report which was opened from a form (with Timer) didn't show
correctly. I haven't tested this situation in A2002 yet.
Dirk Goldgar - 11 Mar 2007 21:49 GMT
> I have a main dashboard form. I need to display some information that
> must be visible whenever the user opens any form or report. Therefore
[quoted text clipped - 9 lines]
> dashboard form. Is it a A2002 bug? Is there any known solution either
> for repositioning or for adding various types of controls to menubar?

I don't see why the firing of the Timer event should pop up the
dashboard form.  It doesn't do that for me, with a simple test form.
What's the code you're executing in the Timer event ?

Signature

Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

Vladimír Cvajniga - 11 Mar 2007 22:20 GMT
I have deleted the code and  can't remember exactly what it did - I was
trying to pop up (SetFocus) a floating form and move it according to
CommandBar(0).Top. I must have done something wrong.
   Now I have added a timer to a floating form and it seems to work OK. I
have to test the project with some reports and see if it's still OK.

TYVM for your respond, Dirk.

Vlado

>> I have a main dashboard form. I need to display some information that
>> must be visible whenever the user opens any form or report. Therefore
[quoted text clipped - 13 lines]
> form.  It doesn't do that for me, with a simple test form. What's the code
> you're executing in the Timer event ?
Dirk Goldgar - 11 Mar 2007 22:59 GMT
>    Now I have added a timer to a floating form and it seems to work
> OK. I have to test the project with some reports and see if it's
> still OK.
> TYVM for your respond, Dirk.

You're welcome.  By the way (and you may already know this), beware of
editing code while the form with the Timer event is open.  You get weird
behavior in the VB editor if a Timer event fires while you're editing
code.

Signature

Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

Vladimír Cvajniga - 12 Mar 2007 01:40 GMT
Thx for the tip. I know that Access Timer is a "wizard" and that's why I've
put the code to open the floating form only in MDE. I can easily handle this
form when I need it for some tests.

Vlado

>>    Now I have added a timer to a floating form and it seems to work
>> OK. I have to test the project with some reports and see if it's
[quoted text clipped - 5 lines]
> behavior in the VB editor if a Timer event fires while you're editing
> code.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.