how to find the front grid from N numberof grids one behind another in

Posted on 2006-04-28
Last Modified: 2010-04-17
hi friends,
my doubt is in regarding the flexgrid...
its regarding windows application...
i have a form which may contain  N Number of grids one behind another...
but i am not creating the grid dynamically...
that grids may be in the panel.
from that form while execution, i want to know which grid is in front and visible to the user when i click a button or any other control...

expecting the answer from u guys,
Question by:corpuslabs
    1 Comment
    LVL 1

    Accepted Solution

    what about adding these grids to an array (call it aoFlexgrid).
    Then use this function:

    (vb code - i do not know
    function GetActiveGrid() as flexgrid
    for i=0 to ubound(aoFlexgrid)-1
       if aoFlexgrid(i).Visible then
             Exit Function
       end if
    end function


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    tripleUp challenge 7 54
    bunnyEars challenge 6 45
    array6 challenfge 6 48
    Looking for example pivot year code used in Y2K 4 17
    Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
    This is about my first experience with programming Arduino.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now