Ventana de Mensaje Temporal
Moderator: Rathinagiri
Ventana de Mensaje Temporal
Se podría crear una función que funcione de forma similar a "InputBox" solo que sea un LABEL donde uno pueda mostrar un mensaje por un tiempo determinado por el usuario, similar a la propiedad "cTimeoutValue" de "InputBox", es más hasta se podría usar InputBox creando la propiedad READONLY y la posibilidad de sacar los botones de ACEPTAR y CANCELAR.
Eso es todo por hoy.
Saludos, Fernando Chirico.
Eso es todo por hoy.
Saludos, Fernando Chirico.
Saludos, Fernando Chirico.
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Ventana de Mensaje Temporal
fchirico wrote:Se podría crear una función que funcione de forma similar a "InputBox" solo que sea un LABEL donde uno pueda mostrar un mensaje por un tiempo determinado por el usuario, similar a la propiedad "cTimeoutValue" de "InputBox", es más hasta se podría usar InputBox creando la propiedad READONLY y la posibilidad de sacar los botones de ACEPTAR y CANCELAR.
Eso es todo por hoy.
Saludos, Fernando Chirico.
Something like that is in my TODO list from long time ago.
It will be come

Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: Ventana de Mensaje Temporal
Thank You Roberto for listen !!!Roberto Lopez wrote:It will be comefchirico wrote:
Regards,
Roberto.
Saludos, Fernando Chirico.
Saludos, Fernando Chirico.
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Ventana de Mensaje Temporal
You are welcome!!!fchirico wrote:Roberto Lopez wrote:Thank You Roberto for listen !!!fchirico wrote:
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: Ventana de Mensaje Temporal
Gracias: cuando el usuario le da click al boton de "salvar informacion" de mi programa, quiero que le aparezca, por breves segundos, el mensaje de "Registro actualizado", y que dicho mensaje desaparezca solo.
Traté con el LABEL pero tengo que crear un "window" que contenga el label y en consecuencia requiero de una accion del usuario para desactivar la pantalla y salir....como le pongo al label un tiempo de salida y que en automatico desaparezca el mensaje?
Traté con el LABEL pero tengo que crear un "window" que contenga el label y en consecuencia requiero de una accion del usuario para desactivar la pantalla y salir....como le pongo al label un tiempo de salida y que en automatico desaparezca el mensaje?
- Rathinagiri
- Posts: 5477
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: Ventana de Mensaje Temporal
Googled English:
when the user gives you click the button "save info" on my agenda, I want him to appear, for brief seconds, the message "Register updated," and that the message just disappears.
I tried to LABEL but I have to create a "window" that contains the label and thus require action by a user to turn off the screen and get out .... as I put the label out time and that automatically disappears message?
Answer:
You can use a timer along with a splash window. Please see the HMG samples splashdemo and timer.
Googled Spanish:
Puede utilizar un temporizador junto con una bola de la ventana. Por favor, consulte la HMG muestras splashdemo y el timer.
when the user gives you click the button "save info" on my agenda, I want him to appear, for brief seconds, the message "Register updated," and that the message just disappears.
I tried to LABEL but I have to create a "window" that contains the label and thus require action by a user to turn off the screen and get out .... as I put the label out time and that automatically disappears message?
Answer:
You can use a timer along with a splash window. Please see the HMG samples splashdemo and timer.
Googled Spanish:
Puede utilizar un temporizador junto con una bola de la ventana. Por favor, consulte la HMG muestras splashdemo y el timer.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: Ventana de Mensaje Temporal
Thanks for the support !!
Re: Ventana de Mensaje Temporal
Where can I see the "splashdemo" sample ? I've already checked the samples section but I can´t find it .......thanks
Re: Ventana de Mensaje Temporal
Hi,renemr wrote:Where can I see the "splashdemo" sample ? I've already checked the samples section but I can´t find it .......thanks
Take a look for the following sample at your folder hmg\Samples\SPLASHDEMO:
Code: Select all
/*
* MINIGUI - Harbour Win32 GUI library Demo
*
* Copyright 2002 Roberto Lopez <harbourminigui@gmail.com>
* http://harbourminigui.googlepages.com/
*/
#include "minigui.ch"
Function Main
DEFINE WINDOW Form_Main ;
AT 0,0 ;
WIDTH 640 HEIGHT 480 ;
TITLE 'Main Window' ;
MAIN ;
NOSHOW
END WINDOW
DEFINE WINDOW Form_Splash ;
AT 0,0 ;
WIDTH 500 HEIGHT 200 ;
TITLE '';
TOPMOST NOCAPTION ;
ON INIT SplashDelay() ;
ON RELEASE Form_Main.Maximize()
@ 70,10 LABEL Label_1 ;
WIDTH 500 HEIGHT 40 ;
VALUE 'Splash WIndow (Wait a Moment)' ;
FONT 'Arial' SIZE 24
END WINDOW
CENTER WINDOW Form_Splash
ACTIVATE WINDOW Form_Splash , Form_Main
Return Nil
Procedure SplashDelay()
Local iTime
iTime := Seconds()
Do While Seconds() - iTime < 5
EndDo
Form_Splash.Release
Return
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein