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 7,983 of 9,834   
   Anders Jonsson to All   
   Re: Add button to Title bar   
   14 Dec 06 01:55:29   
   
   From: gt3TakeThisAway@bredband.net   
      
   > I like your idea of using the form's close() to save the position.   
      
   Put the code in action method of the form and trap for MenuCanClose, that   
   way it will trigger even if they close Paradox with an open form.   
      
      
   > I still   
   > need some way to turn off the dialog mode (for the next time the window   
   > opens).   
      
   Why? If your forms are designed as regular forms and then you use   
   OpenAsDialog if you wish it to open as a dialog. You can use the same   
   technique as with the size - store the user preference for a specific form   
   in a table and look it before you issue the open command. Maybe you can let   
   the user edit this in a "preferences" form??   
      
      
   > I just need a way to let them adjust the dialog once it is opened -   
   > without   
   > access to a menu, or design-mode on a form (since they'll be delivered).   
      
   I still think, that once you have the form open, you can't change it's   
   status as a regular form/dialog. You will have to  close and reopen it with   
   the new status, but I could be wrong on this.   
      
   Anders   
      
   --- 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