I have a Main Menu form (frmMainMenu) where there are frames, a table and a graph on it. Before, the table and the graph are on their own forms, but I found that there are too many forms in my program. So now they are all on the Main Menu form (see attachment). However I have some problems as follow:
- The table contains 2 columns, Depth and Volume. To fill the table, user needs to browse the data file on a browse file dialog. How to make the MSFlexgrid appears as an empty table with the header of 'Depth' and 'Volume' before the data are filled in it?
- The graph, MSChart, will appear when user browse data file and click the graph button on another form. How to hide the MSChart when loading the Main Menu form and replace it with "No data to display" text?
- Main Menu form is the first form to appear in this program. Data file is selected and viewed on another form. How to code to fill the data in the table on the Main Menu form after the data is selected on the other form?
- How to resize the objects on the form if user maximize the window?
I hope there are solutions to these problems. Thank You in advance.
- The table contains 2 columns, Depth and Volume. To fill the table, user needs to browse the data file on a browse file dialog. How to make the MSFlexgrid appears as an empty table with the header of 'Depth' and 'Volume' before the data are filled in it?
- The graph, MSChart, will appear when user browse data file and click the graph button on another form. How to hide the MSChart when loading the Main Menu form and replace it with "No data to display" text?
- Main Menu form is the first form to appear in this program. Data file is selected and viewed on another form. How to code to fill the data in the table on the Main Menu form after the data is selected on the other form?
- How to resize the objects on the form if user maximize the window?
I hope there are solutions to these problems. Thank You in advance.
Comment