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

Adaptative field height for full content display

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

  • Adaptative field height for full content display

    Hi,

    As in a newspaper with many paragraphs of different length, we want to display some text field or other field type containing text or HTML, in a way that it displays fully the whole content of the field or even better, a kind of browse displaying several records of text, each one with its necessary hight in order not to hide some field parts because row hight is fixed.

    Of course, an obvious use of that is to put all web content in a database, so we can better manage multi-lingual translation and display.

    Is it possible? what could be the best way?
    A kind of browse, or a script that would create an HTML out of the needed records. (it this 2nd option, the problem is also to define on container on the page that is large enough)

  • #2
    Re: Adaptative field height for full content display

    Welcome to the Alpha message board!

    You're just creating HTML here. There's nothing special about whether it's A5 or not.

    If, for instance, you define an html table with rows and cells, you can let the cell "grow" to fit your needs. If you want to limit it's height or width, you can do that too. In fact, if you were to look at the source for the page containing our messages, you'd see what I mean. The cell simply grows to accomodate the amount of text we've typed.
    -Steve
    sigpic

    Comment


    • #3
      Re: Adaptative field height for full content display

      I know HTML tables, but the goal is to display content from a database record, sometime not as a static content but as many dynamic content rows.

      Comment


      • #4
        Re: Adaptative field height for full content display

        This is very easy to accomplish.

        If you look at www.asq-seattle.org, the event information in the center column, the FYI information below it, the announcements in the right column, and all the information in the "Leadership Pages" comes from databases, and all the blocks expand as necessary to provide for the space to fit.

        Pat
        Pat Bremkamp
        MindKicks Consulting

        Comment


        • #5
          Re: Adaptative field height for full content display

          Your example is convincing, especially the 5 column Event grid, but what is the best way to do that?
          Last edited by EMHmark7; 04-15-2008, 11:18 PM.

          Comment


          • #6
            Re: Adaptative field height for full content display

            What you need is to have a look at the Grid component, all this looks like standard grid features to me...

            Comment


            • #7
              Re: Adaptative field height for full content display

              It's nothing more than placing xbasic such as this at the appropriate location to reference a memo field:

              txt = table.external_record_content_get("[PathAlias.ADB_Path]\mytable","mymemofield")
              ?txt

              or

              lookup("[PathAlias.ADB_Path]\mytable",".t.","mymemofield")

              And if get creative with the filter parameter, you can customize the text based on logged in user, day of week, news category, or any thing else.
              Steve Wood
              Join the ALPHA DEVELOPERS NETWORK
              There is no Cloud. It's just someone else's computer.
              Web - Mobile - Hosting - Products - Frameworks - Developer Resources
              AlphaToGo | IADN (100% Alpha Anywhere Websites)

              Comment


              • #8
                Re: Adaptative field height for full content display

                I am in a pre-buy phase. So, bottom of the line is that you guys tell me that browse allow adaptative row hight. (as we can see in the display of this thread)

                Tell me if I am wrong.

                Thanks for your help.

                Comment


                • #9
                  Re: Adaptative field height for full content display

                  Originally posted by EMHmark7 View Post
                  I am in a pre-buy phase. So, bottom of the line is that you guys tell me that browse allow adaptative row hight. (as we can see in the display of this thread)

                  Tell me if I am wrong.

                  Thanks for your help.
                  A Browse is a desktop control, not a web form control. Generally in HTML, with is fixed but the height expands as needed.

                  Comment


                  • #10
                    Re: Adaptative field height for full content display

                    So, I' am interested in web gids.

                    Comment


                    • #11
                      Re: Adaptative field height for full content display

                      Originally posted by EMHmark7 View Post
                      So, I' am interested in web gids.
                      I didn't understand why you were mentioning Browses in that context :)

                      Comment


                      • #12
                        Re: Adaptative field height for full content display

                        Pat what version of the WAS are you using for http://www.asq-seattle.org/ ? because the speed is great
                        Cheers
                        Mauricio

                        Comment


                        • #13
                          Re: Adaptative field height for full content display

                          Thank you for noticing. I'm using Version 8.

                          The site is hosted on ZebraHost and we have a VPS with 1 gig ram. I have both non-SSL and SSL pages on the site, so I'm running two instances of the Alpha WAS, one for each domain.

                          Also, I've been converting the site to CSS pages, and I've found that to help speed because I can bypass components and just display the data directly. For example, on the index page, the event list is a grid component, but the FYI below it and the announcements on the right are read into variables from the tables in the head section, then displayed.

                          Pat
                          Pat Bremkamp
                          MindKicks Consulting

                          Comment


                          • #14
                            Re: Adaptative field height for full content display

                            Ok thats great, so basically your saying that the less components you use to display data the better.
                            Cheers
                            Mauricio

                            Comment


                            • #15
                              Re: Adaptative field height for full content display

                              Originally posted by Pat Bremkamp View Post
                              I have both non-SSL and SSL pages on the site, so I'm running two instances of the Alpha WAS, one for each domain.
                              Pat,

                              Off topic, but... I am curious if there were any issues setting this up. Is there a login that spans both types of pages? I have a site with non-SSL and SSL pages, but the non-SSL are just initial landing pages in HTML that I serve through IIS.

                              Bill.

                              Comment

                              Working...
                              X