Could someone please give me some (very) basic tips on how to uses forms i.e the appropriate use of form load/ show/ hide/ unload/ modal etc. When should MDI forms be used etc...
On top of that I could someone also help me a resolve a related an issue with my app. My app opens with a main form (form1) that contains an MSflexgrid, the msflexgrid contains records populated from SQL server. The user can double click a record on the grid and it will open another form (we’ll call it form2 - the only other form in the app) which is basically just textboxes and comboboxes that show the various fields of that selected record.
I want form2 to open modally with the main form sitting in the background but the problem I have is that none of the code that follows the form load event excecutes until form2 closes.
Basically how do I excute code that follows the form_load event, it appears that with modal the code following will not run until the said form is closed. Would an MDI get round this?
On top of that I could someone also help me a resolve a related an issue with my app. My app opens with a main form (form1) that contains an MSflexgrid, the msflexgrid contains records populated from SQL server. The user can double click a record on the grid and it will open another form (we’ll call it form2 - the only other form in the app) which is basically just textboxes and comboboxes that show the various fields of that selected record.
I want form2 to open modally with the main form sitting in the background but the problem I have is that none of the code that follows the form load event excecutes until form2 closes.
Basically how do I excute code that follows the form_load event, it appears that with modal the code following will not run until the said form is closed. Would an MDI get round this?