Image Button

Discussion in 'Questions (Windows Mobile)' started by alfcen, Oct 18, 2007.

  1. alfcen

    alfcen Well-Known Member Licensed User

    After changing the Text in an Image Button you need to Refresh the button to show new text. Can this be fixed in the next version?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    It will be fixed.
     
  3. alfcen

    alfcen Well-Known Member Licensed User

    Very nice, thank you, Erel!
    Perhaps mouse_down and mouse_up events, too? :sign0100:
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Why do you need these events for the ImageButton ?
     
  5. alfcen

    alfcen Well-Known Member Licensed User

    Four image buttons with arrows (GIF) would control a telescope in all four directions. It will for instance slew left as long as you keep the Left arrow button pressed (mouse down) and stop as you release the image button (mouse up). The mouse up event would send a "stop" command.

    A standard button will do alike, however it can't take up images. Using a form's mouse events requires capture of screen coordinates, thus more source code and... error-prone.

    Mouse events on an image button would be great for any application that controls external devices via a serial port or otherwise.
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    That is a good reason.
    They will be added.
     
  7. alfcen

    alfcen Well-Known Member Licensed User

    Thanks a lot in advance, Erel.
     
Loading...