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

Explorer Style Menus

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

    #16
    Re: Explorer Style Menus

    As I mentioned Ray, it wasn't tidied up. Just an example of using a Dynamic Tree to select Forms, and something for Bob to look into if he thought there was any merit in it.
    If you want it to be dockable, and that isn't in Bob's post, then I don't think there is anything in Alpha DT that can do that, but I could be wrong.
    As for always being on display on the left hand side, that would be fairly simple, however once the menu was created, it would need to be embedded on each Form.
    There is also the Open and Close issue, but it's not insurmountable as evidenced in the earlier suggestion I posted.
    Please do a screen shot of what you believe an Explorer menu would look like and I'll try and replicate. My Explorer has very few menu items.
    See our Hybrid Option here;
    https://hybridapps.example-software.com/


    Apologies to anyone I haven't managed to upset yet.
    You are held in a queue and I will get to you soon.

    Comment


      #17
      Re: Explorer Style Menus

      Look at the dockable menu in Alphasports, Navigation Toolbar.
      All it won't do is concertina like Explorer.
      Just open Windows Explorer, it has nothing to do with what I believe it looks looks like.
      Last edited by Ray in Capetown; 11-28-2011, 07:26 AM. Reason: Navigation Toolbar

      Comment


        #18
        Re: Explorer Style Menus

        Thanks all for you contributions - I am away from the office for a couple of days and will review the suggestions on my return.
        Ray - I haven't forgotten you - just adding some more features.
        Bob
        Bob Whitaker

        Comment


          #19
          Re: Explorer Style Menus

          Originally posted by Ray in Capetown View Post
          Look at the dockable menu in Alphasports, Navigation Toolbar.
          All it won't do is concertina like Explorer.
          Just open Windows Explorer, it has nothing to do with what I believe it looks looks like.
          Try adding a new button to the Nav Toolbar, which fires a Dynamic Tree, populated with whatever you want.
          BTW I haven't done it yet myself as I have something esle on, but I will get around to it.

          Edit.
          Done it now. Fully dockable anywhere navigation menu with Dynamic Tree which fires the requisite form from the Node selected.
          You could add all sorts of functionality based on the value of the Node Selected.
          Last edited by Ted Giles; 11-28-2011, 01:08 PM.
          See our Hybrid Option here;
          https://hybridapps.example-software.com/


          Apologies to anyone I haven't managed to upset yet.
          You are held in a queue and I will get to you soon.

          Comment


            #20
            Re: Explorer Style Menus

            That would be interesting to see.

            Comment


              #21
              Re: Explorer Style Menus

              Ted,
              What if you wanted to display one value in the tree but return another? Where would the '{DATA=value1}value2' syntax go? I am using a table to get my tree nodes but don't want the ID field to show but do want that for the return value.
              Robin

              Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

              Comment


                #22
                Re: Explorer Style Menus

                Can you post an example of where you have gotten to Robin? Use private mail if you wish.
                First thoughs are that you could parse the returned string if you don't select the [get from node] option.

                I'll post the results of the Dynamic Tree activated from a Dockable Menu Navigation tomorrow morning. Been trying to make it look nice.
                It activates a tree from which a Form is selected and runs.
                The tree is NOT contained within the floating Navigation Menu so it will always appear under it if the menu is docked top left.

                Decided to go with what I've got.
                You'll see what I was getting at, and there may be a way of getting the floating menu to display the tree within it, but it's beyond me I'm afraid.
                Attached Files
                Last edited by Ted Giles; 11-29-2011, 03:28 PM.
                See our Hybrid Option here;
                https://hybridapps.example-software.com/


                Apologies to anyone I haven't managed to upset yet.
                You are held in a queue and I will get to you soon.

                Comment


                  #23
                  Re: Explorer Style Menus

                  Originally posted by MoGrace View Post
                  Ted,
                  What if you wanted to display one value in the tree but return another? Where would the '{DATA=value1}value2' syntax go? I am using a table to get my tree nodes but don't want the ID field to show but do want that for the return value.
                  Had a fiddle with this Robin. If you use the List Box option in Xdialog Genie, you can display the Data and save the content of another field in the same record into a Variable.
                  Using Alpha Sports, I showed the Customer names, and Saved the ID - which was not shown - to a Variable.
                  Not a Tree though.
                  See our Hybrid Option here;
                  https://hybridapps.example-software.com/


                  Apologies to anyone I haven't managed to upset yet.
                  You are held in a queue and I will get to you soon.

                  Comment


                    #24
                    Re: Explorer Style Menus

                    You can see from the example that one can go (kind of) three levels down.

                    It's not a perfect solution because even though the user can still see the selected TAB they have to read sideways to select the right one. If the top tab has all other tabs as first menu item it would be nice to know HOW TO PROGRAMATICALLY SELECT the relevant tab as the next level. That would be usefull - if further levels can't be done.

                    The difference between a system of menus and Navigator - is that Navigator always shows the path the user took to be where they are right now. You can see my menu also highlights open and current forms and additional options use dropdowns on the menu bar.
                    That is where Expanding options that remain open and visible, would come in.

                    Whats this suggestion in aid of Ted?
                    Originally posted by Ted Giles View Post
                    Can you post an example of where you have gotten to Robin? Use private mail if you wish
                    Attached Files
                    Last edited by Ray in Capetown; 11-30-2011, 06:12 AM.

                    Comment


                      #25
                      Re: Explorer Style Menus

                      Hi Ted,
                      Here is a screenshot of my Menu Tree and the form I use to input the data. A copy of the script is attached that creates the tree.
                      Attached Files
                      Robin

                      Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

                      Comment


                        #26
                        Re: Explorer Style Menus

                        Gobsmacked is all I can say Robin.
                        What an outstanding example.
                        See our Hybrid Option here;
                        https://hybridapps.example-software.com/


                        Apologies to anyone I haven't managed to upset yet.
                        You are held in a queue and I will get to you soon.

                        Comment


                          #27
                          Re: Explorer Style Menus

                          How sweet of you to say! I would have posted it yesterday but couldn't get it to work for some reason that turned out to be a space in the tree - which was driving me nuts to find out why. I put a note in the code. I originally used this only in my PR_DATA app, but then thought I could use it in others too. And sure enough you can just by changing the data in the table - and of course any buttons you want must change the links.

                          In the form the lookups are variables that use layout lists based on TYPE to get enumerations to populate the OBJ_NAME which is then put into the ACTION field combined with the UDF or SCRIPT chosen from that list - which can both be edited. After its first selection the OBJ_NAME can be edited for the tree display since it is then only used for that. The unique SORTKEY is used to sort the data in the tree. It is a calculated field in the field rules that combines GRP and ORD. I have another table HELPCHAP that I use to populate the two groups with the same CHAPTER and TOPIC I use for the help file. I also made a function to use the + and - keys in the OnKey event so the ORD field can be reorganized after you get all the entries in place. I am working on a test copy that I will post when I get it finished.

                          Edit: Oh and the button with the blue execute on the form refreshes the menu tree so you can see your changes.
                          Robin

                          Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

                          Comment


                            #28
                            Re: Explorer Style Menus

                            I think Selwyn might be contacting you!
                            See our Hybrid Option here;
                            https://hybridapps.example-software.com/


                            Apologies to anyone I haven't managed to upset yet.
                            You are held in a queue and I will get to you soon.

                            Comment


                              #29
                              Re: Explorer Style Menus

                              I was able to synch all my v10 apps to use this modeless XD tree - and then got the bright idea to try it in v8. I have been testing all the variables in the IW and Trace window, but I can't get the button script to work correctly if at all. I am using the same script that the double click event uses - and that one works. But when attached to the button event, it runs every script found in the ACTION field in the table. So even though the IW shows only one record was returned with this filter, somehow the whole list is being processed. What else might I try instead of this function that is mainly for creating a crlf() list?

                              Here is the working ev_dblclick script:

                              Code:
                              IF a_dlg_button = "ev_dblclick" THEN
                              	vMenuTree = word(vMenuTree,val(menu_lvl),".") 	
                              	vSortkey = lookupc("F",vMenuTree,"sortkey","act_menu","OBJ_NAME")	
                              	vAction = table.EXTERNAL_Record_content_get("act_menu","alltrim(ACTION)","sortkey","SORTKEY="+QUOTE(VAR->vSORTKEY))	
                              	Tln("vAction ev_dblclick: ",vAction)
                              	evaluate_template(var->vaction)
                              END IF
                              I don't actually need the lookupc() for vSortkey since I could filter the next line with
                              "OBJ_NAME = "+quote(VAR->VMENUTREE))

                              it was just something I was trying because I know that field is unique. The menu_lvl variable is just something I was trying to see if I could use the same script for a 2 level or 3 level tree.
                              Last edited by MoGrace; 12-02-2011, 08:13 PM.
                              Robin

                              Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

                              Comment


                                #30
                                Re: Explorer Style Menus

                                The change I made that seemed to be the problem, was giving the button an event name that was different than the button label. Once I changed that, the button worked the same as the double click event for the tree. Perhaps because the button only has the one event?

                                But the other problem was altering the vMenuTree variable value to use for the lookup. And since I didn't need a crlf() list for the vAction, I changed that too. This is the script that works - the button event name change being the last thing I did.

                                Code:
                                IF a_dlg_button = "GO" THEN    
                                    vLU_OBJ = word(vMenuTree,val(menu_lvl),".")
                                    vAction = lookupc("F",vLU_OBJ,"Action","act_menu","OBJ_NAME")
                                    Tln("vAction ev_GO: ",vAction)
                                    evaluate_template(var->vaction)
                                END IF
                                Last edited by MoGrace; 12-03-2011, 02:01 PM.
                                Robin

                                Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

                                Comment

                                Working...
                                X