![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
On 09/10/2010 02:49:12, "David-W-Fenton" wrote: Salad <salad (AT) oilandvinegar (DOT) com> wrote in news:SJmdnXahSsMbGzLRnZ2dnUVZ_uSdnZ2d (AT) earthlink (DOT) com: I guess Restore or Maximize resets the visible property. ...which is why you want to skip running restore/maximize if the form is not visible, as in the code I posted. There isn't anything complicated here. And, in fact, I'd suggest it's better to write a function for opening any generic form and restore/maximize that can handle opening hidden, too. That way, you don't need code in each form to deal with it. Agreed David, but it's the fag of modifying well over 100 forms - but I'll get round to it. The generic function you suggest would have to be called on the OnOpen of every form I presume |
![]() |
| Thread Tools | |
| Display Modes | |
| |