Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Re: 2 questions

    For an example of how to use the SysCmd, open the Northwind sample database,
    and look in the Utility module. They have a wrapper function named
    IsLoaded(). You can copy that function if you wish.

    BTW, in Access 2002, you can also use:
    CurrentProject.AllForms("MyForm").IsLoaded

    I'm not sure what else is happening with your menus, but it appears to be a
    mouse issue rather than an Access issue. I have had inconsistent results by
    specifying a function name in the button's action, and found that a macro
    name works better. The macro just used RunCode to call the function.

    --
    Allen Browne - Microsoft MVP. Perth, Western Australia.
    Tips for Access users - [url]http://allenbrowne.com/tips.html[/url]
    Reply to the newsgroup. (Email address has spurious "_SpamTrap")
    "Chad" <Groovylou2@aol.com> wrote in message
    news:035601c35a3c$a297c9a0$a401280a@phx.gbl...
    > Regarding question 1:
    > How would I use this code to determine if a form is
    > open or not?
    >
    > Regarding question #2 about the menu bar:
    > - I have not modified my mouse settings with any
    > utilities and I dont think it is a hardware issue. Maybe
    > if I give you an example it may help.
    >
    > File
    > - Print Reports
    > - Save Reports
    > - Exit
    >
    > WHen I click on File, the other sub menus are displayed.
    > But, when I move my mouse over Exit (for example) the
    > function that I attached to its on action property is
    > automatically carried out. I want the user to have to
    > click on exit for the action to be carried out. Please
    > let me know if there is anything that can be done to help
    > fix this problem.
    >
    > Thanks again,
    > Chad
    > >-----Original Message-----
    > >A1:
    > > SysCmd(acSysCmdGetObjectState, acform, "Form1")
    > >
    > >A2:
    > >This is not the behaviour I see. Have you modified your
    > mouse settings with
    > >a utility? Hardware issue?
    > >
    > >
    > >--
    > >Allen Browne - Microsoft MVP. Perth, Western Australia.
    > >Tips for Access users - [url]http://allenbrowne.com/tips.html[/url]
    > >Reply to the newsgroup. (Email address has
    > spurious "_SpamTrap")
    > >
    > >"Chad" <groovylou2@aol.com> wrote in message
    > >news:029c01c35a1e$b233e510$a301280a@phx.gbl...
    > >> I have 2 questions that will hopefully be fairly simple
    > >> to answer.
    > >>
    > >> 1. Is there a way to see if a form is open (or loaded)
    > >> through code?
    > >>
    > >> ex: If Form1 is loaded Then
    > >> DoCmd.Close acForm, Forms!Form1.Name
    > >> End If
    > >>
    > >> 2. I have created a custom menu bar. When points at a
    > >> command on this menu bar for more than 1 second, the
    > >> command associated with that command is executed. Is
    > >> there a way to disable this feature and have the
    > command
    > >> execute only after the user has clicked the specific
    > >> command?

    Allen Browne Guest

  2. Similar Questions and Discussions

    1. AMD-64 Questions
      Hi All: Newbie w/ some questions: PC: AMD-64 bit, full install working reasonably well (no attempts at multi-media yet): w/ Athlon AMD-64...
    2. Mac OS-10 & MX questions / Please Help!
      A couple of questions: 1. I am getting a Mac with OS10 running Director MX. If I create a projector, will it run on older OS systems? 2. Which...
    3. Questions over questions
      Hello people, I have a problem with my ISP! He kills my php script, if they were executed over 30 seconds. Can I use some trick to fake a little...
    4. The questions.
      "Chris Thomas" <chrisvai777@hotmail.com> wrote in message news:9f682ea7.0307210257.5a2a89a1@posting.google.com... It depends on what drives you...
    5. 2 questions :) - portal questions
      Say the portal displays a relationship that uses the Box_ID field as the match field on both sides. In the child file (items in the box), add two...
  3. #2

    Default Re: 2 questions

    Is this only happening in ACCESS or does it happen in other programs also?

    If it happens in other programs, I seem to recall there is a mouse setting with
    later versions of MS Windows that can cause this kind of behavior. I would try
    one of the Microsoft.Public.Win2000 groups for an answer



    Chad wrote:
    >
    > Thanks Allen I appreciate it.
    >
    > Chad
    > >-----Original Message-----
    > >For an example of how to use the SysCmd, open the
    > Northwind sample database,
    > >and look in the Utility module. They have a wrapper
    > function named
    > >IsLoaded(). You can copy that function if you wish.
    > >
    > >BTW, in Access 2002, you can also use:
    > > CurrentProject.AllForms("MyForm").IsLoaded
    > >
    > >I'm not sure what else is happening with your menus, but
    > it appears to be a
    > >mouse issue rather than an Access issue. I have had
    > inconsistent results by
    > >specifying a function name in the button's action, and
    > found that a macro
    > >name works better. The macro just used RunCode to call
    > the function.
    > >
    > >--
    > >Allen Browne - Microsoft MVP. Perth, Western Australia.
    > >Tips for Access users - [url]http://allenbrowne.com/tips.html[/url]
    > >Reply to the newsgroup. (Email address has
    > spurious "_SpamTrap")
    > >"Chad" <Groovylou2@aol.com> wrote in message
    > >news:035601c35a3c$a297c9a0$a401280a@phx.gbl...
    > >> Regarding question 1:
    > >> How would I use this code to determine if a form is
    > >> open or not?
    > >>
    > >> Regarding question #2 about the menu bar:
    > >> - I have not modified my mouse settings with any
    > >> utilities and I dont think it is a hardware issue.
    > Maybe
    > >> if I give you an example it may help.
    > >>
    > >> File
    > >> - Print Reports
    > >> - Save Reports
    > >> - Exit
    > >>
    > >> WHen I click on File, the other sub menus are displayed.
    > >> But, when I move my mouse over Exit (for example) the
    > >> function that I attached to its on action property is
    > >> automatically carried out. I want the user to have to
    > >> click on exit for the action to be carried out. Please
    > >> let me know if there is anything that can be done to
    > help
    > >> fix this problem.
    > >>
    > >> Thanks again,
    > >> Chad
    > >> >-----Original Message-----
    > >> >A1:
    > >> > SysCmd(acSysCmdGetObjectState, acform, "Form1")
    > >> >
    > >> >A2:
    > >> >This is not the behaviour I see. Have you modified your
    > >> mouse settings with
    > >> >a utility? Hardware issue?
    > >> >
    > >> >
    > >> >--
    > >> >Allen Browne - Microsoft MVP. Perth, Western
    > Australia.
    > >> >Tips for Access users -
    > [url]http://allenbrowne.com/tips.html[/url]
    > >> >Reply to the newsgroup. (Email address has
    > >> spurious "_SpamTrap")
    > >> >
    > >> >"Chad" <groovylou2@aol.com> wrote in message
    > >> >news:029c01c35a1e$b233e510$a301280a@phx.gbl...
    > >> >> I have 2 questions that will hopefully be fairly
    > simple
    > >> >> to answer.
    > >> >>
    > >> >> 1. Is there a way to see if a form is open (or
    > loaded)
    > >> >> through code?
    > >> >>
    > >> >> ex: If Form1 is loaded Then
    > >> >> DoCmd.Close acForm, Forms!Form1.Name
    > >> >> End If
    > >> >>
    > >> >> 2. I have created a custom menu bar. When points
    > at a
    > >> >> command on this menu bar for more than 1 second, the
    > >> >> command associated with that command is executed. Is
    > >> >> there a way to disable this feature and have the
    > >> command
    > >> >> execute only after the user has clicked the specific
    > >> >> command?
    > >
    > >
    > >.
    > >
    John Spencer (MVP) Guest

  4. #3

    Default 2 questions

    Hi guys.

    I have two questions for you today:

    1. Weired login problem
    I am developinig a site for a conference where i have a login page for
    members. This page is called index.php and includes different types of modules,
    according to the type of user logged on. The problem is now following:
    i have a login function hidden in a class, this function registers a bunch
    of variables. After the user has submited the details, index.php (which calls
    the session_start()) calls the login function. Then i check whether a session
    variable is present ($_SESSION['name']). If yes, we include the members
    area, otherwise we include the login table again. Now: on my test server
    (XP/Apache/php4.3.2) all is well. However, on the real server (Linux/Apache/php4.0.x)
    it just includes the login table anyway, even if the login was successful. I
    then have to click on the menu link again to include the member script.
    Why is that?

    2. Save a large amount of text to a file
    On the same page i have some type of cms going. The admin users can change
    txt files which relate to text on some of the general pages. I have now found
    that it is only transmits a certain amount of text via GET to the function
    that writs to the files. Is there a restriction on passing text via url? If yes
    (which will be the case), how could i do this otherwise?

    Thanks so long...

    Thomas
    P.S: this list still rocks

    --
    COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
    --------------------------------------------------
    1. GMX TopMail - Platz 1 und Testsieger!
    2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
    3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post

    Thomas Hochstetter Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139