Re: [Lazarus] Modal forms: block parent form or application

2011-01-30 Thread Andreas Schneider
On Sunday, January 30, 2011 00:13 cobines wrote: But what about dialog boxes with buttons requiring user input? Usually you want to have result which button was pressed and such dialog boxes are shown as modal with ModalResult returned. Showing OpenFile dialog, showing messages with

Re: [Lazarus] Modal forms: block parent form or application

2011-01-30 Thread cobines
2011/1/30 Andreas Schneider ak...@gmx.de: On Sunday, January 30, 2011 00:13 cobines wrote: But what about dialog boxes with buttons requiring user input? Usually you want to have result which button was pressed and such dialog boxes are shown as modal with ModalResult returned. Showing

[Lazarus] Modal forms: block parent form or application

2011-01-29 Thread cobines
Hello, I have two forms Form1 and Form2. Form1 is MainForm with ShowInTaskbar=stDefault and Form2 has ShowInTaskbar=True, so they both have taskbar buttons, I treat them as separate windows. I show a modal form from Form2 which blocks the whole application. Is it possible to have it block only

Re: [Lazarus] Modal forms: block parent form or application

2011-01-29 Thread zeljko
On Saturday 29 of January 2011 09:29:02 cobines wrote: Hello, I have two forms Form1 and Form2. Form1 is MainForm with ShowInTaskbar=stDefault and Form2 has ShowInTaskbar=True, so they both have taskbar buttons, I treat them as separate windows. I show a modal form from Form2 which blocks

Re: [Lazarus] Modal forms: block parent form or application

2011-01-29 Thread Paul Ishenin
29.01.2011 15:29, cobines wrote: Hello, I have two forms Form1 and Form2. Form1 is MainForm with ShowInTaskbar=stDefault and Form2 has ShowInTaskbar=True, so they both have taskbar buttons, I treat them as separate windows. I show a modal form from Form2 which blocks the whole application. Is

Re: [Lazarus] Modal forms: block parent form or application

2011-01-29 Thread cobines
2011/1/29 zeljko zel...@holobit.net: On Saturday 29 of January 2011 09:29:02 cobines wrote: Hello, I have two forms Form1 and Form2. Form1 is MainForm with ShowInTaskbar=stDefault and Form2 has ShowInTaskbar=True, so they both have taskbar buttons, I treat them as separate windows. I show a