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



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

Default Form Field Dimensions

  • Filter
  • Time
  • Show
Clear All
new posts

  • Default Form Field Dimensions


    Is there a way to adjust the default form field dimension when creating a form. For me, all new fields that I place are 0.187" in height and I'd like for them to be 0.250". Would save much time. I've looked and looked and looked, and no luck.

    Thank you!
    Thank you,
    Mike Konoff

  • #2
    I suspect you will need to define a new Theme with the colours and field sizes as you want them.
    It is not too difficult and you should get exactly what you need.
    See our Hybrid Option here;

    There are 3 things you can do in any situation;
    Live with it, Change it or Walk away from it.


    • #3
      Hello Ted,

      Thanks for the suggestion. Do you mean to make adjustments in StyleSheets? I cannot seem to find anywhere in there to set default dimension for height of form field. Most all else, but I see no place to set dimension.

      Edition: Developer
      Version: 12.3, Build 2999
      System Addins: Build 4519
      C Compiler: Microsoft C Compiler Version 1800


      Thank you,
      Mike Konoff


      • #4
        Yes, Mike - in the StyleSheets area.
        The documentation shows what can be changed, but it's better if you create a new one and then set the field sizes as you wish.
        Create a BLANK form
        Add the field you want sized differently. Just the one field, not everything at this stage - you can fiddle later.
        Right click anywhere in the white space on the form
        Select Stylesheets
        Create New and name it
        Save the form.

        Create a new form with ALL fields on it and choose your Stylesheet.

        It should show the fields in the size you defined.
        See our Hybrid Option here;

        There are 3 things you can do in any situation;
        Live with it, Change it or Walk away from it.


        • #5
          Ok, thanks Ted. I'll work at it that way. I was hoping to find a way to make the height of all new field descriptors and fields a desired set height so that as I drag/drop them from the field picker so I could drop them in place already with desired field height so I could, set it and forget it so to speak. This should save time, so thanks for pointing me in the right direction. Very much appreciated!!!
          Thank you,
          Mike Konoff


          • #6
            Once you set the format, Mike, all of the fields you add will be the correct size.
            Setting the first one allows Alpha to save what you need for subsequent entries. Hope this makes sense, else send me the sizes you want and I'll send you a Stylesheet you can import.
            You can import or modify an existing Stylesheet, but it's better to leave the standard ones alone.
            See our Hybrid Option here;

            There are 3 things you can do in any situation;
            Live with it, Change it or Walk away from it.


            • #7
              Hello Ted!

              I believe I tried your suggestion and no luck. Created a new form, created a new stylesheet, adjusted the field height from 0.187 to 0.250, save stylesheet doing the Apply and Update, saved, closed, and reopened the form, and then added a 2nd field which came in at the old dimension of 0.187" height. Main desire for me right now is to make new fields dragged/dropped onto forms a height of 0.250". My style sheet is attached.

              Thank you.
              Attached Files
              Thank you,
              Mike Konoff


              • #8
                Leave it with me until tomorrow. It's later here now.
                See our Hybrid Option here;

                There are 3 things you can do in any situation;
                Live with it, Change it or Walk away from it.


                • #9
                  I appreciate anything you do, so please enjoy your weekend and whenever is a good time for you, will be great with me. Thank you!!!
                  Thank you,
                  Mike Konoff


                  • #10
                    Not to disagree with anyone I use an existing, make the mods and then save to a new name. Always worked best for me.
                    Dave Mason
                    [email protected]
                    Skype is dave.mason46


                    • #11
                      I agree Dave, however there is no way I can find to set the height of the type in field in the stylesheets dialog. Length, yes, height no.
                      If you increase the font size, that makes a difference.
                      If you change the field size on the form, go to styles - not style sheets - and do an update, when you add a field, it defaults to the smaller size, so the setting for that doesn't appear to be in the stylesheets dialog.
                      It may be in the View/Settings panel, so I will explore that.

                      What is possible is to lasso the fields you want to change and do it all in one go but I have had no success lassoing the label AND field doing that.
                      See our Hybrid Option here;

                      There are 3 things you can do in any situation;
                      Live with it, Change it or Walk away from it.


                      • #12
                        Mike, sorry to say that I haven't found a way of dragging a field onto a form and the height setting being as you wish.
                        Only thing I can suggest is to build a form with all fields on it and then delete the ones you don't need.
                        If the table has a lot if fields, you can manage how they're shown initially - so you don't end up with multiple tabs - by changing the default settings in View/Settings.
                        As I mentioned, there does not appear to be a default height setting for fields, at least I can't find one.
                        See our Hybrid Option here;

                        There are 3 things you can do in any situation;
                        Live with it, Change it or Walk away from it.


                        • #13
                          Hello Ted. Thanks for taking the time to investigate. I very much appreciate that.

                          I have been setting an existing field to desired height, then using Advanced -> Copy Selected Properties (object - height) to copy that info, and then pasting that to all other fields. Nifty feature to be able to copy/paste that one particular attribute. It would be niftier if able to set the desired height from the start.

                          Thanks again for your help and have a great day!
                          Thank you,
                          Mike Konoff


                          • #14
                            Glad you got something to work, even though it's a pita to work through and won't let you drag and drop as the dicumentation suggests.
                            Anyway, thanks for posting your solution.
                            See our Hybrid Option here;

                            There are 3 things you can do in any situation;
                            Live with it, Change it or Walk away from it.


                            • #15
                              Or use this UDF script this way having the Interactive Editor (IE) open to run step 4
                              1. Make your form. Add a button on the form with the on push event command - change_height(1)
                              2. With the form in view mode, press the button. It collects the parent table name, form name and all the fields on the form into a global variable.
                              3. Place the form in design mode
                              4. Run the following command in the IE - change_height(2)
                              5. Return to the made form, delete the button and save the form. The fields should all now be the size that is on line 51 of the UDF below

                              FUNCTION change_height AS C (part_to_run as n)
                              if part_to_run=2
                              end if
                              'GET THE TABLE FOR THE FORM
                              dim tw as p
                              dim vtbl_name as C
                              dim vfrm_name as C
                              dim global vg_form_fields as C=vtbl_name+crlf()+vfrm_name+crlf()
                              dim vLfields as C
                              dim vfield_now as C
                              for each foo in vLfields
                              'test to see if object is on form
                              if is_object(vfield_now)
                              end if
                              msgbox("Global Values Set")
                              END FUNCTION
                              ' PART_TWO()
                              FUNCTION part_two as C ( )
                              dim vn_field_qnty as N=line_count(vg_form_fields)
                              dim vtbl_name as C=word(vg_form_fields,1,crlf())
                              dim vfrm_name as C=word(vg_form_fields,2,crlf())
                              'SET NEW HEIGHT VALUE
                              dim vheight_new as n=.25
                              dim vfrm as C="testform"
                              'LOOP THROUGH AND CHANGE HEIGHT IF PRESENT
                              dim vfield_now as C
                              dim cmd as C
                              for i = 3 to vn_field_qnty
                              cmd=":"+vfrm+":"+vfield_now+".object.height ="+vheight_new
                              END FUNCTION
                              Mike W
                              "I rebel in at least small things to express to the world that I have not completely surrendered"