Hi,
ok to the point, i have a visual basic application on which i want to open a Sub Form with a button, when the Sub Form is open it will contain a list of data, then i want that the users select some of the items in the list, then execute some other actions with the selected items of the list on the Main Form, but when i load the secundary Form the process does not stop! the users is unable to select the items and the process is executed with a empty list.
in the Main Form i call the Sub Form
the result is that the Subform shows up, but then the other instructions are executed, it doesn't wait the user to select some items and as i say before the process is executed with a empty list.
does somebody knows a fuction similar to getch() in c++ for visual basic?
Regards,
Patricia
ok to the point, i have a visual basic application on which i want to open a Sub Form with a button, when the Sub Form is open it will contain a list of data, then i want that the users select some of the items in the list, then execute some other actions with the selected items of the list on the Main Form, but when i load the secundary Form the process does not stop! the users is unable to select the items and the process is executed with a empty list.
in the Main Form i call the Sub Form
Code:
Load FrmSecundary
FrmSecundary.Show
other instructions...
the result is that the Subform shows up, but then the other instructions are executed, it doesn't wait the user to select some items and as i say before the process is executed with a empty list.
does somebody knows a fuction similar to getch() in c++ for visual basic?
Regards,
Patricia