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

Correct Way to design a menu?

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

    Correct Way to design a menu?

    Another design problem.

    Code:
    'Date Created: 08-Oct-2021 01:29:25 PM
    'Last Updated: 17-Oct-2021 07:24:29 AM
    'Created By : Graham
    'Updated By : Graham
    temp_list = <<%list%
    Browse^Aircraft^Aircraft_Compendium
    Browse^Aircraft^aircraft_Type_Listing
    Browse^Aircraft^aircraft_UAV_Listing
    Browse^Air_Arm^Air_Arm_Name
    Browse^AMARC^AMARC
    Browse^AMARC^AMARC_Abbrev
    Browse^AMARC^AMARC_Origin_Id
    Browse^Base^Base_Add
    Browse^Base^Base_And_Place_Names
    Browse^Base^Base_details
    Browse^Base^Base_Master_Large
    Browse^BGA^BGA
    Browse^BGA^BGA1000to5299
    Browse^BGA^missing_BGA
    Browse^Complete^Complete_Logging_details
    Browse^Location^allcountry_postcodes
    Browse^Location^location_fleet_browse
    Browse^Logging^Christoph_Allocations
    Browse^Logging^Complete_Logging
    Browse^Logging^Current_Logging
    Browse^Logging^logging_Data_input
    Browse^Operator^Operator_Air_Arm_Names
    Browse^Operator^Operator_and_fleet
    Browse^Operator^Operator_ATC_sqn
    Browse^Operator^Operator_Edit
    Browse^Operator^Operator_IATA
    Browse^Operator^Operator_ICAO
    Browse^Operator^Operator_Orbat
    Browse^Operator^Operator_Orbat_bmps
    Browse^Radio^Radio_Freqs_New
    Browse^Radio^Radio_Frequencies
    Browse^RIAT^Show_Movements_Browse
    Browse^RIAT^Show_PPR
    Browse^Work_File^Scramble_Update
    Browse^Work_File^SeaWavesData
    Browse^Work_File^Work_File_Base_List
    Browse^Work_file^work_file_oper_list
    Browse^Work_file^Work_File_prod_list
    Browse^Work_File^Work_File_Reg_List
    Browse^Work_File^Work_File_Reg_List
    Form^Aircraft^Aircraft_Types_Edit
    Form^Base^Base_master_Edit
    Form^Location^Location_Listing
    Form^Logging^Logging_details
    Form^Logging^Logging_Master_edit
    Form^Operator^Operator_edit
    Form^Operator^Operator_Fleet_Checker
    Form^Work_File^Work_file_reg_list
    Script^Web^dlg_display_Web_General
    Script^Log^dlg_LogCheckerPlus
    Script^Log^dlg_Modeless_Lookup
    Script^Log^dlg_WrittenLog
    Script^Bitmaps^dlg_copy_bitmap_files
    Script^Bitmaps^dlg_copy_new_bitmaps
    Script^Scramble^Scramble_Update
    Script^Web^dlg_post_web_data
    %list%
    tl = *count(temp_list)
    DELETE a_Option
    DIM a_Option[tl] as c
    main_menu_tree_title = "Main Menu Tree"
    a_Option.initialize(temp_list)
    a_option.sort("A")
    dlg_contracted = <<%dlg%
    {Background=#234+234+255}
    {can_exit=close}
    {position=remember=Main_menu_tree_dialog}
    <%T=Rolldown Dialog;I=a5_arrow_purple_down%!Rolldown_Tree_button_click>
    {sp}<%T=Close Dialog;I=$$generic.exit%!CloseEvent>
    {sp}{'%O={F=Bahnschrift,10,B}{C=Black}Minimised
    %dlg%
    dlg_expanded = <<%dlg%
    {Background=#234+234+255}
    {watch=Option!OptionEvent}
    {region}
    [%S=BLR;D="^"%.40,12Option^<a_Option];
    {endregion};
    {line=1,0};
    {region}
    <%T=Close Dialog;I=$$generic.exit%!CloseEvent>
    {position=remember=main_menu_tree_dialog}
    {sp}<%T=Rollup Dialog;I=a5_arrow_purple_up%!Rollup_tree_button_Click>{sp=2}
    {condition=(GoFlag=.t.)}
    <%T=Go;O={J=C,C}{C=Brown}{F=Bahnschrift,10,B}{B=Tan}Go%10,0!Go?GoFlag>
    {endregion};
    {endregion};
    %dlg%
    event_expanded = <<%code%
    if a_dlg_button = "OptionEvent" then
    if ("^" $ Option) then
    GoFlag = .t.
    else
    GoFlag = .f.
    end if
    end if
    if a_dlg_button = "CloseEvent" then
    ui_modeless_dlg_close(main_menu_tree_title)
    end if
    if a_dlg_button = "GO" then
    select
    case word(Option,1,"^") = "Form"
    DIM Shared Frm as P
    layout_name = word(Option,3,"^")
    DIM tempP as p
    tempP=obj(":"+object_Name_normalize(word(layout_name,1,"@")))
    if is_object(tempP) then
    if tempP.class() = "form" then
    tempP.activate()
    else
    Frm = :Form.view(layout_name)
    frm.maximize()
    end if
    else
    Frm = :Form.view(layout_name)
    frm.maximize()
    end if
    case word(Option,1,"^") = "Browse"
    DIM Shared Bwse as P
    layout_name = word(option,3,"^")
    DIM tempP as p
    tempP=obj(":"+object_Name_normalize(word(layout_name,1,"@")))
    if is_object(tempP) then
    if tempP.class() = "browse" then
    tempP.activate()
    else
    Bwse = :Browse.view(layout_name)
    Bwse.maximize()
    end if
    else
    Bwse = :Browse.view(layout_name)
    Bwse.maximize()
    end if
    
    case word(Option,1,"^") = "Script"
    script_play(word(option,3,"^"))
    end select
    Option = ""
    ui_modeless_dlg_box(main_menu_tree_title,dlg_contracted,event_contracted)
    end if
    if a_dlg_button = "rollup_Tree_button_click" then
    ui_modeless_dlg_box(main_menu_tree_title,dlg_contracted,event_contracted)
    a_dlg_button = ""
    end if
    %code%
    event_contracted = <<%code%
    if a_dlg_button = "Rolldown_Tree_button_click" then
    ui_modeless_dlg_box(main_menu_tree_title,dlg_expanded, event_expanded)
    a_dlg_Button = ""
    end if
    if a_dlg_button = "CloseEvent" then
    ui_modeless_dlg_close(main_menu_tree_title)
    end if
    %code%
    ui_modeless_dlg_box(main_menu_tree_title,dlg_expanded, event_expanded)
    I want to have a menu that I can use from anywhere that contains all my most used processes. The above sort of works, but loses the titles of any modeless dialogs called.

    what am I doing wrong?
    What is the best way to create such a menu system ?
    thx
    --
    Support your local Search and Rescue Unit, Get Lost!

    www.westrowops.co.uk

    #2
    Menus are interesting.
    In mine, each one triggers a process and displays a Form (with a Browse and possibly Conditional Objects). All done using the built in Action Scripts or an extension of their code.
    One app has a choice : Modern or Traditional.
    The options are many. Some run along the top menu with dropdowns, some are dockable and either vertical or horizontal.
    I reiterate - minimal coding.
    Attach a short script to open a Browse to a Menu item and fiddle, but read the instructions as they can be just a tad convoluted.
    The Form needs to have the Menu attached. Form Properties Menus.
    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


      #3
      Examples - all done without coding

      First is a top line list of items, the others are variations on different themes.
      Note the use of HotSpots in the last one. HotSpot goes to the form you want.
      alpha5 .pngalpha2.pngalpha4.pngalpha1.pngalpha3.png
      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

      Working...
      X