Android Question [SOLVED] [B4X] pfdialog / have more than 2 options at showdialog...

Discussion in 'Android Questions' started by Magma, May 6, 2019.

  1. Magma

    Magma Well-Known Member Licensed User

    Hi there....

    Can we have more than 2 options at showdialog... 3 or more ? (like that DELETE, OK, CANCEL) Delete needed for deleting record for my app...

    (can be ignore for showdialog or something...)

    Thanks in advance...
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You can add "actions" as part of the form.

    The form itself can be either committed (OK) or cancelled (CANCEL).
     
    Magma likes this.
  3. Magma

    Magma Well-Known Member Licensed User

    So, adding a button into form... ?
     
  4. DonManfred

    DonManfred Expert Licensed User

    Yes
     
    Magma likes this.
  5. Magma

    Magma Well-Known Member Licensed User

    Ok, thanks
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    You cannot add a button directly to the form. You can however add an "action" item with short options type.
     
  7. Magma

    Magma Well-Known Member Licensed User

    ...As i can understand - i can add for example short-options (options: save,delete)...

    So when i see delete my code will erase record...

    OK

    Is it possible in future add button field or better to add a 3rd option at showdialog (ignore) --> and every user make it anything he wants ?
     
Loading...
  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