Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

checkbox list box and multi-select listbox on a form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    checkbox list box and multi-select listbox on a form

    Can you have these controls on a form? If so how do you implement them? I have searched the board and Alpha help but cannot find anything. Although I have learnt that doesn't mean it doesn't exist just that I have failed to use the right term when searching.

    #2
    Re: checkbox list box and multi-select listbox on a form

    Hidden in the .chm under

    Check Box - List Box (Form)

    Check Box Control (Form)

    Multiple Selection
    There can be only one.

    Comment


      #3
      Re: checkbox list box and multi-select listbox on a form

      Stan - I found those but they open a dialog box. It isn't a control on a form. Is it possible to have these controls on a form?

      Comment


        #4
        Re: checkbox list box and multi-select listbox on a form

        It seems you are asking how to tie a check box list box or a multi-select listbox to a form field representing a table field. I don't think that makes any sense because you can only store one value in a field. Those two controls allow multiple selection.

        Try creating a variable for your form and setting its type to one of them.
        There can be only one.

        Comment


          #5
          Re: checkbox list box and multi-select listbox on a form

          Stan - I think I must be missing something (probably brain cells:)).

          example

          I have a form with a layout variable called my_choices which is placed on the form.

          How do I make this a multi-select listbox?

          When you click on the variable properties and choose control type the multi-select list box isn't one of the options. See the second picture in the above post for the list of options available.

          Just to clarify - I do not want a dialog to appear and then make the choices from the dialog. I would like it on the form (embedded).

          Any chance you can post an example or guide?

          Comment


            #6
            Re: checkbox list box and multi-select listbox on a form

            Your first screenshot shows a dialog titled

            Demonstration of Different Control Styles

            This is not the same as a context sensitive list of options available for every field that you get when you use the smart button just to the right of the form field properties editor.

            Apparently you cannot use the two styles you have indicated as I thought you might. I know you don't want an xdialog but I don't know why. My attachment illustrates a technique that should make the process user friendly.
            There can be only one.

            Comment


              #7
              Re: checkbox list box and multi-select listbox on a form

              RE: checkbox list boxes: A different check-list variation

              I would like to create a single button that can be used on any form that, when pushed, displays a list of other frequently used forms with an attached check list box. The first box checked would immediately open the form.
              Multiple choices would not be allowed.

              All forms to open (approximately 12) are in the same adb.

              The user will " X check" which form he or she wants to open. This would be similar to a "switch" menu in A4. If it makes more sense to just use a list box, that would be fine also.

              Can this be accomplished in action scripting? I searched for an example, but did not find anything close enough to point me in the right direction.

              Will appreciate any help,

              John Linley

              Comment


                #8
                Re: checkbox list box and multi-select listbox on a form

                A check box list box is designed to allow multiple selections so I don't think that is the best control choice for you.

                Sounds like you want a button opened xdialog displaying a listbox of all forms. You could either hard code the list or use A5.FORM_ENUM().

                Try the attachment.
                There can be only one.

                Comment


                  #9
                  Re: checkbox list box and multi-select listbox on a form

                  Stan - Thanks for confirming it isn't possible to use the multi-select list quite the way I wanted. To answer the question of why I do not like the dialog I guess it is down to personal preference. I wanted to use the multi-select as I quick way of filtering a browse. One example would be that you could select several states and see only sales from those states. I know there are other ways of achieving this but I liked the idea of the multi-select list embedded in the form for quickness. To be fair to Alpha I think it would be possible in version 9 as I'm sure I read that you can now embed xdialog into the forms. Unfortunately V10 will probably be released before the funds are available for the upgrade.

                  Thanks again for your help its always appreciated.

                  Geoff

                  Comment


                    #10
                    Re: checkbox list box and multi-select listbox on a form

                    Stan;
                    Regret to admit that I either don't know how to open your attachment or,
                    I don't have the right tool. I tried notepad, workpad, word and none of these opened it.
                    Could you email it to me, [email protected]. ? Sorry to be a bother, but I would like to look at it.

                    Thanks, john linley

                    Comment


                      #11
                      Re: checkbox list box and multi-select listbox on a form

                      John,

                      It is a a compressed file. You need to use winzip or winrar to uncompress it. Inside you will find database files.

                      Alpha has unzip capabilities so you could also use it to unzip the file.

                      For example


                      Either attach this to a button onpush event or use the code editor-interactive

                      Code:
                      unzip_files("c:\stevesample.zip", "*.*", "c:\unzip")
                      Naturally you will need to change the location (path) if it isn't c:\ and the destination if you don't want it to be c:\unzip.

                      Hope it helps.

                      Geoff

                      Comment


                        #12
                        Re: checkbox list box and multi-select listbox on a form

                        Originally posted by john linley View Post
                        Stan;
                        Regret to admit that I either don't know how to open your attachment or,
                        I don't have the right tool. I tried notepad, workpad, word and none of these opened it.
                        Could you email it to me, [email protected]. ? Sorry to be a bother, but I would like to look at it.

                        Thanks, john linley
                        I think Geoff should have you going but I emailed them as well.
                        There can be only one.

                        Comment

                        Working...
                        X