Removing controls from a form

Discussion in 'Questions (Windows Mobile)' started by colin9876, Nov 17, 2007.

  1. colin9876

    colin9876 Active Member Licensed User

    So I design a form1 with a Timer, a textbox and a couple of buttons

    Then I want to remove, say one of the buttons, how do I do it.

    I know theres an option for deleting the whole form, but when I highlight one of the controls I dont seem to be able to remove it?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Using the designer you can right click and choose Delete Control.
    On the device choose Tools - Delete Control.
     
  3. colin9876

    colin9876 Active Member Licensed User

    Thanks - I dont know why I didnt notice that - Im getting so dumb in my old age. Cheers for pointing that out

    One more question, are Textboxes for displaying info AND inputing info?
    For example if I want to get someones name is the Textbox the best control to use?
    And if I want to print out a value say, is a Textbox the best control to use?

    Last time I did any basic programming it was INPUT A$, PRINT A$ on the ZX81 !! - wondered if Textboxes are the equivalent of both??
     
    Last edited: Nov 17, 2007
  4. Erel

    Erel Administrator Staff Member Licensed User

    Yes, you should use a textbox to get an input from the user, and you could also use it to show some information.
    You could also use Labels to show text.
     
Loading...