Message Flash

Discussion in 'Questions (Windows Mobile)' started by Softselect, Nov 1, 2007.

  1. Softselect

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

    Erel Administrator Staff Member Licensed User

    Can't you just show a Panel and remove it using a timer?
     
  3. Cableguy

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

    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
     

    Attached Files:

  5. Erel

    Erel Administrator Staff Member Licensed User

    Sorry but I'm not sure that I've understood your problem...
     
  6. Cableguy

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

    Erel Administrator Staff Member Licensed User

  8. Softselect

    Softselect Member Licensed User

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

    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
     

    Attached Files:

  10. Softselect

    Softselect Member Licensed User

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

    Softselect Member Licensed User

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