Flexgrid onload starts up at negative position but is actually dead center on form (FULLMARKS )
Posted on 2004-03-30
The name almost explains it all, but i will elaborate.
In the form load event, i need to get the position (height & left) of a specific flex grid that sits on a tab sheet (which i also get the height and left from)
The problem is that in the form load event, some times the flexgrid appears to be sitting at -1700 when in actual fact it sits at 120. The flexgrid is set to visible = false
however, i dont beleive this to be the problem, since this is intermitant, and only happens sometimes when the form loads. I have tucked do events around it everywhere thinking that it could be a problem with the form loading and then having to execute the code, meanwhile not centering the form correctly, but this does not seem to be the case.
Has anyone else had this issue? or something similar? A clear and correct response will net you full marks + A+