Solo saber como pasar de una ventana a otra, generalmente son Form1, Form2
Hola Pedro.
Solo dentro del Form1 debes usar Form2_Show(hWndForm, %True) si lo quieres modal, o sea que no se pueda regresar a form1 mientras no se cierre Form2 o poner %false en el segundo parámetro si lo deseas no modal.
Recuerda que debes escribir en inglés en este forum. Usa un traductor (como el de google) si es necesario.
I would recommend you put the original Spanish text plus the Google translation. Just in case the Google translation is a bit faulty then at least the Spanish speaking member get the sense of it.
Yo recomendarÃa que usted pone el texto español original más la traducción de Google. Sólo en caso de la traducción de Google es un poco defectuoso, por lo menos el miembro de habla española consigue el sentido de la misma. (Google)
Rolf
Perfecto, gracias. Lo cierto es que google no es muy efectivo.
Perfect, thanks. The truth is that google is not very effective.
Estos comandos donde aparecen en las ayuda?
These commands which appear in the Help?
Este comando no aparece explicitamente en la ayuda porque cada forma puede llamarse diferente. Solo agregale _Show al nombre de tu forma para hacerla visible. Por ejemplo, si tu forma se llama "Factura", para hacerla visible se llama "Factura_Show()". Etc.
This command does not explicitly appear in the help because each form can be called different. Just add _show to the name of your form to make it visible. For example, if your form is called "Invoice" to make it visible call "Invoice_Show ()". Etc.
You can HIDE a Form
If that is a question, then yes. (pero seria "Can you hide a form?", Eso es importante porque de la otra manera parece como una afirmacion en vez de una pregunta.)
All you have to do is close the first form, you can do this with FF_Closeform(), but if you want to keep the first form active, you can just hide it with FF_Control_ShowState().
All this commands are readily available and for a list of them just press F8.
ok, thanks
QuoteChange the visible state of a Control or Form.
hWndControl: Handle of Control or Form (e.g. HWND_FORM1_OPTION1)
nShowstate: One of the following states as defined in the WIN32API.INC file):
%SW_HIDE Hide the Control or Form
%SW_MAXIMIZE Maximize the specified Control or Form.
%SW_MINIMIZE Minimize the specified Control or Form.
%SW_RESTORE Activate and display the Control. If the Control
is minimized Or maximized, Windows restores it to
its original Size And position.
%SW_SHOW Activate the Control or Form and display it in its
current Size And position.
%SW_SHOWMAXIMIZED Synonym Of %SW_MAXIMIZE.
%SW_SHOWMINIMIXED Activate the Control or Form and minimize it.
%SW_SHOWNA Display the Control in its current State without activating it.
%SW_SHOWNOACTIVATE Display the Control in its most recent Size and position
without activating it.
%SW_SHOWNORMAL Activate and display the Control. If the Control is minimized
or maximized, it is restored it to its original size And position.
Returns: If the window was previously visible, the return value is non-zero.
If the window was previously hidden, the return value is zero.
If you close a form from within one of it's windows messages, you can experince crashes, because the window information is lost before the message is processed. If you will be switching forms in your app, then handle with care. :)