S
SammyBar
Hi,
I'm developing a very simple application. It has three forms: Login, a
Search form and a DataCapture form. Only one form can be active at any given
time. Login form is used once, after authentication it is not needed. Then
the user will be switching between data capture and search. I'm thinking on
how the forms should call each other in order to the Running Program List on
the device show only one form. I can run the message loop on the Search
form, then load and close Login and Data Capture. But it will cause when
DataCapture form is on, the Running Program List of the device will show
both forms and I need it only showed the data capture. I can not close the
Search form 'cause it contains the application message loop and it will
cause the application to be ended... I'd like some architecture in which I
could switch from form to form by closing them and recreating when needed,
like a web browser switching from page to page, but all they contained in a
single application.
Any hint is welcomed
Thanks in advance
Sammy
I'm developing a very simple application. It has three forms: Login, a
Search form and a DataCapture form. Only one form can be active at any given
time. Login form is used once, after authentication it is not needed. Then
the user will be switching between data capture and search. I'm thinking on
how the forms should call each other in order to the Running Program List on
the device show only one form. I can run the message loop on the Search
form, then load and close Login and Data Capture. But it will cause when
DataCapture form is on, the Running Program List of the device will show
both forms and I need it only showed the data capture. I can not close the
Search form 'cause it contains the application message loop and it will
cause the application to be ended... I'd like some architecture in which I
could switch from form to form by closing them and recreating when needed,
like a web browser switching from page to page, but all they contained in a
single application.
Any hint is welcomed
Thanks in advance
Sammy