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,978 of 9,834    |
|    Anders Jonsson to All    |
|    Re: Add button to Title bar    |
|    13 Dec 06 19:19:53    |
      From: gt3TakeThisAway@bredband.net              > 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.              I don't think you can change the mode once it's opened. However you can use       openAsDialog when you open it.              > Also,       > I can't capture the form's current position once it is a dialog for the       > same       > reason.              Why don't you set the postion when you open it, the open syntax let you add       position.              I'm not sure what exactly you want to do but if you wish the forms to open       in the same place as they were closed last time it shouldn't be that       difficult. You could add code that write the position information to a table       or an ini-file (maybe in PRIV) when the form closes. When the form open next       time it will check for the info and reposition itself.              I can't really see what the benefit would be to let the user have the option       to open a form as a dialog or not. I think that decision is mostly depending       on the programming situation. If I use a dialog I often have a reason for it       and wouldn't like the user to be able to change that.                            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