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
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
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...
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
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.
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
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.
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