• Re: Cannot focus a disabled or invisible window

    From =?UTF-8?Q?M=C3=A1rio_Reis?=@21:1/5 to All on Fri Jul 29 13:02:27 2022
    A quarta-feira, 9 de outubro de 1996 à(s) 07:00:00 UTC, Markus Peters escreveu:
    Joch...@fel.tno.nl (Robert Jochemsen) meinte am 8 Oct 1996 16:56:37
    GMT zum Thema "Cannot focus a disabled or invisible window":
    Hi,
    I'm porting a large delphi 1 program to D2, and all was well, but
    a certain window won't create, and gives the message
    ' Cannot focus a disabled or invisible window '
    Nowhere in my code I'm explicitly making things disabled or invisible before the warning comes. I saw some other people having problems
    with this one too, but no real solutions.
    Hi Robert.
    I had this problem in D1 in designing state, when I tried to set the
    forms ActiveControl property to a component, which was located in a
    notebook page, which was not the active page at this moment. Actually
    it typed the name of the component instead selecting it from the
    combobox in the object inspector.
    Maybe it helps.
    Greets, Markus ___________________________________________________________________
    | | |
    | Markus Peters | "Vertrauen Sie mir - |
    | m.pe...@koan.de | ich weiss, was ich tue" |
    | http://www.koan.de/~m.peters/ | Sledge Hammer | |_____________________________________|____________________________|
    This is a crasy think i'm openin the qry ok assgning variables ok but
    post generetes this crasy error

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)