Message Flash

Softselect

Member
Licensed User
Hi every one,
I am still writing my first program, but i need to flash a message to the screen
eg.
Using dzHW library's delay

sub Delay (ms)
elapse =0
begin = dz.gettickcount
'***Here i want to display a flash screen***
'm=msgbox("delay") wants user input to clear message
do while (elapse <ms)
do events
elapse=dz.gettickcount - begin
loop
end sub
and with this done the flash screen must disapear


Any ideas
thanks
Friedrich
 

Cableguy

Expert
Licensed User
I think you mean a splash screen, a form to display as a welcome to the user and to post some program related info, rigth?

You could use my about panel to do it...it's in the librarys thread
 

Softselect

Member
Licensed User
hi Erel
The problem is i use 1 routine for a number of forms
And i get a panel already in use error
I dont know if you can test it without the hardware(rs232)
but i attach the program anyway
any ideas
thanks Friedrich
 

Attachments

Cableguy

Expert
Licensed User
If I understood correctly, his trying to flas a custom panel/ form to the user with some pertinent information, halting the execution of the program with it...

This behavior can be acomplished with my abaout panel...

Note:I'm not trying to push you into my about panel, but seems the easyest way to go...
 

Softselect

Member
Licensed User
If I understood correctly, his trying to flas a custom panel/ form to the user with some pertinent information, halting the execution of the program with it...

This behavior can be acomplished with my abaout panel...

Note:I'm not trying to push you into my about panel, but seems the easyest way to go...
The reason I need a message to popup on screen, is because of the delay from the serial communication and micrometer delay in calculating a result
The pop up message must close without user intevention
I am doing it with a form at the moment but it is not ideal
how can I close the about panel on its own
Thanks
Friedrich
 

specci48

Well-Known Member
Licensed User
I added a small example showing something like a splash panel at application start. After pressing the button start, the panel is shown again.
Whithin the sub DoSomething you could implement your calculating delay. In my example I wait randomly for 2 to 5 seconds.

specci48
 

Attachments

Softselect

Member
Licensed User
If I understood correctly, his trying to flas a custom panel/ form to the user with some pertinent information, halting the execution of the program with it...

This behavior can be acomplished with my abaout panel...

Note:I'm not trying to push you into my about panel, but seems the easyest way to go...
The reason I need a message to popup on screen, is because of the delay from the serial communication and micrometer delay in calculating a result
The pop up message must close without user intevention
I am doing it with a form at the moment but it is not ideal
how can I close the about panel on its own
Thanks
Friedrich
 

Softselect

Member
Licensed User
I added a small example showing something like a splash panel at application start. After pressing the button start, the panel is shown again.
Whithin the sub DoSomething you could implement your calculating delay. In my example I wait randomly for 2 to 5 seconds.

specci48
Thank you Specci48
the splash panel is exactly what i needed, just didn't know how to go about it,
i am still new at this programming thing.
Danke
Friedrich
 
Top