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,984 of 9,834   
   Jim Moseley to All   
   Re: Add button to Title bar   
   13 Dec 06 21:17:45   
   
   From: jmose@mapson.attglobal.net   
      
   Anders,   
      
   >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.   
      
   I understand this.  That's where my problem comes from.   
      
   The user can display a regular form, then choose a menu option that will   
   flag it a dialog.  From then on, whenever they reopen this form, I use   
   openAsDialog   
   instead.  All good so far.   
      
   Once it is a dialog, I don't have a way for them to position it, though I   
   could use your technique of setting it on close.   
      
   But the main problem is that once it is a dialog, I have no way for them   
   to turn off the flag to switch it back to a regular form (the next time they   
   try to open it).  This is the real stickler, since they don't have access   
   to the menu from the dialog.  I've got to add some sort of control to the   
   dialog itself that will trigger my code to reset the switch.   
      
   Since it will be delivered code, I can't just add a uiObject to the form.   
    Also, I'd rather not have blank space on the form if it isn't a dialog.   
    So, that's what got me thinking about putting a button on the title bar.   
    I've seen other apps do it, but can't find any Opal code for it.   
      
   Make sense?   
      
   Thanks,   
   Jim Moseley   
      
   --- 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