?
Solved

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

Posted on 2006-04-28
3
Medium Priority
?
243 Views
Last Modified: 2010-04-17
hi friends,
my doubt is in vb.net 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,
friendly...
0
Comment
Question by:corpuslabs
1 Comment
 
LVL 1

Accepted Solution

by:
allallall earned 2000 total points
ID: 16561812
what about adding these grids to an array (call it aoFlexgrid).
Then use this function:

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

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Simple Linear Regression
Progress

840 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