Newbie-Homemade Dialog Box needed

Discussion in 'Questions (Windows Mobile)' started by enonod, Oct 13, 2007.

  1. enonod

    enonod Well-Known Member Licensed User

    I have read as many threads as I can find and my conclusion is that there is no facility for user defined dialog box (even via API). If a new Form is used it is always full screen and width\height do not work. Such a large dalog is not good.

    Is there no way a second Form can be resized?
    Is there a way to use API calls to produce a popup window with controls in Modal mode?
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. Cableguy

    Cableguy Expert Licensed User

  4. enonod

    enonod Well-Known Member Licensed User

    Well thank you both, I don't know how I missed that, except I wasn't looking for Pane.
    I must comment that this forum seems to bring out the best. Often similar forums being asked 'stupid questions' results in rudeness or sarcasm.
  5. agraham

    agraham Expert Licensed User

    In Cableguy's input panel if you add

    Sub txt1_LostFocus
    End Sub
    Then it will act like a modal dialogue box and not allow the user to do anything else until it is closed

    EDIT: Probably obvious but for completeness I should have mentioned for Erels' example
    Sub txtName_LostFocus
    End Sub
    also makes a modal dialog box.

    EDIT EDIT: Only works on the desktop - not the device!
    Last edited: Oct 14, 2007
  6. enonod

    enonod Well-Known Member Licensed User

    Thank you for that agraham
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice