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,977 of 9,834   
   Jim Moseley to All   
   Add button to Title bar   
   13 Dec 06 11:31:50   
   
   From: jmose@mapson.attglobal.net   
      
   Greetings all.   
      
   I'm changing my app to let my users control if a form is a Dialog window   
   or not, and also where it should be placed on the desktop.  We're starting   
   to use multiple monitors, so I don't want them to have to drag the window   
   to the other monitor every time it opens.   
      
   I can get the form to open correctly, but I don't have a way to turn off   
   the 'dialog mode' once it is opened, since the menu is not available.  Also,   
   I can't capture the form's current position once it is a dialog for the same   
   reason.   
      
   Unless someone has a better idea, I think I need to add 2 buttons to the   
   title bar of these dialogs, left of the Minimize/Maximize/Close buttons:   
   Pin Window, and a checkbox for Dialog.   
      
   Does anyone know how to add buttons to the title bar in Paradox?  I've found   
   some VB code, etc., but nothing in Opal!   
      
   These will be delivered forms, so I can't even add a new 'regular' button   
   on the fly.   
      
   Also, I don't want to put regular buttons on all forms and only show them   
   if it is a dialog.  The blank space they take up when hidden won't look good.   
      
   Thanks,   
   Jim Moseley   
      
   (remove 'mapson' to send direct email)   
      
   --- 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