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

This has to be easy to do.....But

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

    This has to be easy to do.....But

    How do you make the program stop showing the database name and name of the table or form display at the top of the screen. I like just having the directory displayed or the program name but not everything across the top windows bar.

    #2
    Re: This has to be easy to do.....But

    Originally posted by rmssoftware View Post
    How do you make the program stop showing the database name and name of the table or form display at the top of the screen. I like just having the directory displayed or the program name but not everything across the top windows bar.
    If you have a suggestion for the wishlist, why not post it there? If you have a question, title the thread with the question, no?

    This has to be easy to do.....But
    Doesn't help anyone determine if they want to read/answer your post.

    The more details you provide, the better help you will get.

    How do you make the program
    What program?

    display at the top of the screen.
    What screen?

    I like
    Sounds like a wishlist post.

    Possibly your post might have read....

    Is there any way to suppress the Alpha basis upon which the current form is based? Is there any way to control the heading of a form?

    Answer might have been...

    Take a look at the invoice form in AlphaSports. Take a look at the Customer Information form in AlphaSports. Notice the differences. Which approach do you want?
    There can be only one.

    Comment


      #3
      Re: This has to be easy to do.....But

      The title bar at the top of the A5 window can be controlled by a5.window_title.

      Often placed in the autoexec script:

      Code:
      a5.window_title = "What you want here"
      In your case, you may just want to specify blank:

      Code:
      a5.window_title = ""
      For forms, you need to edit the form and go to the Window properties, and set the caption.
      -Steve
      sigpic

      Comment


        #4
        Re: This has to be easy to do.....But

        You can also do this for a form (put it in the OnInit event):

        Code:
        f=this.this
        f.window_title = "xyz"
        Peter
        AlphaBase Solutions, LLC

        [email protected]
        https://www.alphabasesolutions.com


        Comment


          #5
          Re: This has to be easy to do.....But

          Gee, Stan. You're being a little hard on the guy, aren't you? :)
          Peter
          AlphaBase Solutions, LLC

          [email protected]
          https://www.alphabasesolutions.com


          Comment


            #6
            Re: This has to be easy to do.....But

            Yep, he is, Thanks to both Steve and Peter for giving some great help on this. I'm beaming with joy at the new application I'm just finishing and help like this is what everyone is really looking for. You guys are the best!

            Comment


              #7
              Re: This has to be easy to do.....But

              HTML Code:
              a5.window_title = "What you want here"
              Did not work used in autexec, runtime autoexec, Oninit on form or OnActivate. When used in the autoexec, it temporarily shows the selected text, but slips back to Alpha Five Main Window. When I use the startup commands after the alpha5.exe, all is fine.

              I suggest that you look in your help file under startup commands for the really god stuff.

              I have all my starts in my desktop start link to cause alpha to show the right text, icons and availability of the splash screen for my app.

              OH! You can change the splash screen(Called splash.bmp) too! This can be a great enhancement for a sale application. You still get the progress bar!

              Dave
              Last edited by DaveM; 04-14-2007, 01:09 PM.
              Dave Mason
              [email protected]
              Skype is dave.mason46

              Comment


                #8
                Re: This has to be easy to do.....But

                Thank you dave! Another great suggestion. What I finally did find out on the initial startup was what I had used for years in V5 which is -title="what you want" at the end of the start up line for properties.

                Comment


                  #9
                  Re: This has to be easy to do.....But

                  Dave, where is the splash.bmp file located?

                  OH! You can change the splash screen(Called splash.bmp) too! This can be a great enhancement for a sale application. You still get the progress bar!

                  Dave[/QUOTE]

                  Comment


                    #10
                    Re: This has to be easy to do.....But

                    Mine is in my app folder, but I install my runtime in the same folder. I also use an exe instead of a shortcut to start the app.
                    Dave Mason
                    [email protected]
                    Skype is dave.mason46

                    Comment


                      #11
                      Re: This has to be easy to do.....But

                      I figured out how to make a5.window_title work
                      you have to put the command in the onactivate event of ALL forms

                      e.g.: a5.window_title=alltrim(var->facility)

                      in my scenario, we are using T/S where all users log on to a common login screen (which is a separate adb) and based on their choice, they go to one of several adbs.

                      because we are still in early/middle development mode, it is anticipated there will be occasional freezes/crashes, and because we will have more than one instance of Alpha running, I need a way to distinguish in the taskmanager which user I want to kill.

                      each adb is a different facility(hospital, clinic,etc), and when I determine the facility at startup I can set the global variable facility to its name.
                      So when I put this line in the onactivate event of every form, which retains the traditional look) I always know who they are and where they are

                      a5.window_title=alltrim(var->facility) + " [" + this.window_title + "]"

                      although I haven't done so yet, I will also add the logger's initials to the line so if 2 or more users are remotely logged on to the same facility, I will also know which user it is.

                      Now if they call and say they are frozen, etc., we can quickly determine which process to kill from the task manager.

                      just added the user - see picture
                      Cole Custom Programming - Terrell, Texas
                      972 524 8714
                      [email protected]

                      ____________________
                      "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

                      Comment


                        #12
                        Re: This has to be easy to do.....But

                        I believe you can suggest the title for a form in properties.

                        Here is something else I wrote in VB6. it would need to be changed per ones needs and compiled to an exe.
                        =====================================================
                        I made my own .exe with the switches on the back that runs my app in any folder on any drive and shows my own name at the top instead of alpha and uses my own icon. I did it in vb6. It starts sales.adb.

                        Anyone wanting the simple code is welcome to it.

                        Sub Form_Load ()
                        Dim upspath
                        upspath = CurDir + "\alpha5.exe"
                        upspath = upspath + " " + CurDir + "\sales.adb -TITLE=UpsLog by K&D Consulting"
                        upspath = upspath + " -ICON=" + CurDir + "\KD.Ico"
                        c = Shell(upspath, 3)
                        End
                        End Sub

                        *Note: My runtime is installed in the same folder with my app so when a makke an install, it all goes together.


                        This is also in the code part of this forum.

                        Dave
                        Dave Mason
                        [email protected]
                        Skype is dave.mason46

                        Comment


                          #13
                          Re: This has to be easy to do.....But

                          Originally posted by DaveM View Post
                          I believe you can suggest the title for a form in properties.
                          Sure. But you can't change it dynamically as Martin & others are doing w/o xbasic.
                          Peter
                          AlphaBase Solutions, LLC

                          [email protected]
                          https://www.alphabasesolutions.com


                          Comment


                            #14
                            Re: This has to be easy to do.....But

                            here is a script that will modify all forms' onactivate event code automatically

                            rule1: test this in a COPY of your application

                            play with the title - mine gets the facility name and logger during logon, so they already exist - and since the logger is the fullname of the logger I am parsing to conserve space - you could make the title anything you want


                            Code:
                             
                            on error goto errors
                            temps=<<%a%
                            a5.window_title=alltrim(var->facility)+"-" + word(logger,1,",")+"," + left(alltrim(word(logger,2,",")),1)+" ["+this.window_title+"]"
                            %a%
                            statusbar.show()
                            vForms1 = a5.Form_Enum(2)
                            vForms=sortsubstr(vForms1,crlf())
                            vNumber = line_count(vForms)
                            onk=0
                            dim vForm_Height as n = 2
                            dim vForm_Width as n = 2
                            dim vWindow_Height_mode as c = ""
                            dim vWindow_Width_mode as c = ""
                            dim vWindow_allow_maximize as l = .t.
                            dim vWindow_allow_minimize as l = .t.
                            dim vWindow_allow_resize as l = .t.
                            dim vWindow_has_caption as l = .t.
                            dim vWindow_has_system_menu as l = .t.
                            for z=1 to w_count(vforms,crlf())
                             true1=.t.
                             vfrm=word(vforms,z,crlf())
                             f=form.load(vfrm, "SCRIPT_DISABLE_EXEC")
                             on error goto next5
                             f.Command("system_design") 
                             on error goto errors
                             statusbar.clear()
                             statusbar.set_text("Working On: " + vfrm + " " + z + " of " + w_count(vforms,crlf()))
                             vForm_Width = f.form_width
                             vForm_Height = f.form_height
                             vWindow_Height_mode = f.window.height_mode
                             vWindow_Width_mode = f.window.width_mode
                             vWindow_allow_maximize = f.window.allow_maximize
                             vWindow_allow_minimize = f.window.allow_minimize
                             vWindow_allow_resize = f.window.allow_resize
                             vWindow_has_caption = f.window.has_caption
                             vWindow_has_system_menu = f.window.has_system_menu
                             changed=.f.
                             [B][COLOR=red]f.code.onactivate=temps + crlf() + alltrim(f.code.onactivate) 
                            [/COLOR][/B] '** Reset form properties that writing to event changes
                             f.form_height = vForm_Height
                             f.form_width = vForm_Width
                             f.window.height_mode = vWindow_Height_mode
                             f.window.width_mode = vWindow_Width_mode
                             f.window.allow_maximize = vWindow_allow_maximize
                             f.window.allow_minimize = vWindow_allow_minimize
                             f.window.allow_resize = vWindow_allow_resize
                             f.window.has_caption = vWindow_has_caption
                             f.window.has_system_menu = vWindow_has_system_menu
                             on error goto next5
                             if true1=.t.
                              f.Command("file_save")
                             end if 
                             f.close()
                             1=1
                             next5: 
                             1=1
                            next z 
                            statusbar.clear()
                            end 
                            errors:
                            true1=.f.
                            resume next
                            end
                            Cole Custom Programming - Terrell, Texas
                            972 524 8714
                            [email protected]

                            ____________________
                            "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

                            Comment


                              #15
                              Re: This has to be easy to do.....But

                              Are we overlooking the obvious?
                              Last edited by G Gabriel; 05-11-2007, 05:15 AM.

                              Comment

                              Working...
                              X