home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,463 of 9,834   
   Jeff Shoaf to Kenneth   
   Re: Form "hangs" off left of screen...?   
   12 Sep 08 19:06:50   
   
   From: jeffshoaf@alltel.net   
      
   Great!   
      
   For future reference, consider putting any initialization code in the   
   form's init() method - that's what it's for and you don't have to worry   
   about where it goes in the open() method. The open() event catches the   
   open() event for each object on the form as it bubbles up, hence the   
   default if...then...else statement in the open() event.   
      
   Having the maximize() in the form's setFocus() event will surely   
   irritate anyone who's trying to view the form at less than maximum so   
   that they can look at another app at the same time!   
      
   Kenneth wrote:   
   > On Fri, 12 Sep 2008 12:44:49 -0400, Jeff Shoaf   
   >  wrote:   
   >   
   >   
   >> Kenneth wrote:   
   >>> Howdy,   
   >>>   
   >>> I'm running P9 with XP...   
   >>>   
   >>> I have a form that is coded to run at 100%...   
   >>>   
   >>> When I launch the form, it is "cut off slightly" on the left   
   >>> side.   
   >>>   
   >>> If I then click View | Zoom 50%, and then View | Zoom 100%,   
   >>> it re-positions properly.   
   >>>   
   >>> Is there a way that I can have the form launch properly   
   >>> without that routine?   
   >>>   
   >>> Many thanks,   
   >   
   >> Is it sized correctly and not centered in the screen? Is the form maximized?   
   >   
   > Hi Jeff,   
   >   
   > I think you may have pointed me in the right direction...   
   >   
   > It did have a "maximize()" on its setFocus, but I moved it   
   > to the form's open, and now it seems fine.   
   >   
   > I thank you for your help,   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca