Loading ...
Sorry, an error occurred while loading the content.

Truncated text in NoteTab's guis

Expand Messages
  • graham.lawrence
    It used to be that I could just exactly cram 2 lines of text between edit boxes but now the top line is truncated (see file GuiText.png posted in Help Wanted
    Message 1 of 8 , Dec 19, 2010
    • 0 Attachment
      It used to be that I could just exactly cram 2 lines of text between edit boxes but now the top line is truncated (see file GuiText.png posted in Help Wanted folder).

      This has to be something I have done, because it shows the same way in 4.95 as it does in 6.2, but I can't find any Option setting that affects this text size. Could someone please advise me.
    • Axel Berger
      ... Yes but, I believe, not to NoteTab. This seems to be an OS thing, I have never seen any box like that in NT on Win98. Have you done something to your
      Message 2 of 8 , Dec 19, 2010
      • 0 Attachment
        "graham.lawrence" wrote:
        > This has to be something I have done,

        Yes but, I believe, not to NoteTab. This seems to be an OS thing, I have
        never seen any box like that in NT on Win98. Have you done something to
        your desktop setup?

        Axel
      • Axel Berger
        ... Sorry, that was nonsense. Of course my wizards do look quite similar. But I still say, they re just some OS API call and you changed something there.
        Message 3 of 8 , Dec 19, 2010
        • 0 Attachment
          Axel Berger wrote:
          > I have never seen any box like that in NT on Win98.

          Sorry, that was nonsense. Of course my wizards do look quite similar.
          But I still say, they're just some OS API call and you changed something
          there.
          Putting them side by side my box has exactly the same sizes as yours and
          I don't think mine will accomodate two lines either.

          Axel
        • Art Kocsis
          Hi Graham, Assuming that the display of your wizard is full scale, I can confirm that something is afoot. I measure your vertical spacing at 12 pixels and mine
          Message 4 of 8 , Dec 19, 2010
          • 0 Attachment
            Hi Graham,

            Assuming that the display of your wizard is full scale, I can confirm that
            something is afoot.

            I measure your vertical spacing at 12 pixels and mine at 15 pixels. It
            looks like two lines of text should fit comfortably in the 15 pixel space.

            OK, got the bug to test the wizard (test clip below). Results = I have
            vertical space for two lines but only one line will display (in the bottom
            position). See [http://www.box.net/shared/5zdnpdcitj%5d for image of my results.

            How did you get to lines to display in the wizard???

            Test clip (long lines will wrap):
            ;########### Start of clip ################
            ;Test clip to check display of two lines in wizard (12-19-10)
            ^!SetWizardTitle
            "!SetWizardTitle....2....,....3....,....4....,....5....,....6....,....7....,....8....,....9"

            ^!SetWizardLabel
            "!SetWizardLabel....2....,....3....,....4....,....5....,....6....,....7....,....8....,....9"

            ^!Set %zar1%=^?{WizardVariable1....[~~value_list, 6 entries, default
            val1].6....,....7....,....8....,....9==_Value1|Value2|Value3|Value4|Value5|Value6};
            %zar2%=^?{WizardVariable2....[~~value_list, 4 entries, default
            val2].6....,....7....,....8....,....9==Value1|_Value2|Value3|Value4};
            %zar3%=^?{WizardVariable3....[~value_list, 6 entries, default
            val3]..6....,....7....,....8....,....9=Value1|Value2|_Value3|Value4|Value5|Value6};
            %zar4%=^?{(T=A;H=7)WizardVariable4....[(T~A;H~10):~action_list, 9 entries,
            defaults
            1,3,5&6].,....8....,....9:=_Actn1|Actn2|_Actn3|Actn4|_Actn5|_Actn6|Actn7|Actn8|Actn9};
            %zar5%=^?{Field Caption (no defaults)}
            ;########### End of clip ################

            Namaste', Art


            At 12-19-10 09:21, you wrote:
            >It used to be that I could just exactly cram 2 lines of text between edit
            >boxes but now the top line is truncated (see file GuiText.png posted in
            >Help Wanted folder).
            >
            >This has to be something I have done, because it shows the same way in
            >4.95 as it does in 6.2, but I can't find any Option setting that affects
            >this text size. Could someone please advise me.
          • Eb
            I checked some of my older libs, where I have embedded newlines in the wizard labels. These now cut off the lower half of the second line. None of NoteTab s
            Message 5 of 8 , Dec 20, 2010
            • 0 Attachment
              I checked some of my older libs, where I have embedded newlines in the wizard labels. These now cut off the lower half of the second line. None of NoteTab's font options affect this display. It's possible that I moved from these particular libraries to newer ones exactly at the same time I updated NoteTab.

              Windows affects font size via the fontsize in Win XP (desktop properties, I think). In windows 7, I have mine set to the smallest font and get only 1 1/2 lines in the wizard label.

              Possible source of the problem:

              1. new monitor, with denser pixels, and auto adjustment to more pixels per character.

              2. New video board/mother board (built-in video adapter), or updated video drivers.

              3. Windows update, that included video driver updates, and now calculate pixels per char differently (??).

              4. Aliens have taken over your display.


              Cheers,


              Eb


              --- In ntb-clips@yahoogroups.com, "graham.lawrence" <graham.lawrence@...> wrote:
              >
              > It used to be that I could just exactly cram 2 lines of text between edit boxes but now the top line is truncated (see file GuiText.png posted in Help Wanted folder).
              >
              > This has to be something I have done, because it shows the same way in 4.95 as it does in 6.2, but I can't find any Option setting that affects this text size. Could someone please advise me.
              >
            • Art Kocsis
              Hi Graham, Eb answered the question of how to generate two lines (embed a newline - DUH!!!). Here is the revised clip and link to my results showing two lines
              Message 6 of 8 , Dec 20, 2010
              • 0 Attachment
                Hi Graham,

                Eb answered the question of how to generate two lines (embed a newline -
                DUH!!!).

                Here is the revised clip and link to my results showing two lines in the
                wizard display.
                (Win XP, NTB 5.8/fv)

                See [http://www.box.net/shared/4h9py7p0oq%5d for image of my results.

                Test clip (long lines will wrap) (v2 with embedded newline):
                ;########### Start of clip ################
                ;Test clip to check display of two lines in wizard with embedded
                newline (12-20-10)
                ^!SetWizardTitle
                "!SetWizardTitle....2....,....3....,....4....,....^%nl%,....6....,....7....,....8....,....9"

                ^!SetWizardLabel
                "!SetWizardLabel....2....,....3....,....4....,....^%nl%,....6....,....7....,....8....,....9"

                ^!Set %zar1%=^?{WizardVariable1....[~~value_list, 6 entries, default
                val1].^%nl%,....7....,....8....,....9==_Value1|Value2|Value3|Value4|Value5|Value6};
                %zar2%=^?{WizardVariable2....[~~value_list, 4 entries, default
                val2].^%nl%,....7....,....8....,....9==Value1|_Value2|Value3|Value4};
                %zar3%=^?{WizardVariable3....[~value_list, 6 entries, default
                val3]..^%nl%,....7....,....8....,....9=Value1|Value2|_Value3|Value4|Value5|Value6};
                %zar4%=^?{(T=A;H=7)WizardVariable4....[(T~A;H~10):~action_list, 9 entries,
                defaults
                1,3,5&6].^%nl%8....,....9:=_Actn1|Actn2|_Actn3|Actn4|_Actn5|_Actn6|Actn7|Actn8|Actn9};
                %zar5%=^?{Field Caption (no defaults)}
                ;########### End of clip ################

                Namaste', Art


                At 12-19-10 09:21, you wrote:
                >It used to be that I could just exactly cram 2 lines of text between edit
                >boxes but now the top line is truncated (see file GuiText.png posted in
                >Help Wanted folder).
                >
                >This has to be something I have done, because it shows the same way in
                >4.95 as it does in 6.2, but I can't find any Option setting that affects
                >this text size. Could someone please advise me.
              • graham lawrence
                Its not the OS.  Art Kocsis sent me clip that does both, truncates the line in one place and displays it properly in another.  Of course I do it the same way
                Message 7 of 8 , Dec 20, 2010
                • 0 Attachment
                  Its not the OS.  Art Kocsis sent me clip that does both, truncates the line in one place and displays it properly in another.  Of course I do it the same way with ^%NL%


                  Test clip (long lines will wrap):

                  ;########### Start of clip ############ ####

                  ;Test clip to check display of two lines in wizard (12-19-10)

                  ^!SetWizardTitle

                  "!SetWizardTitle. ...2...., ....3.... ,....4... .,....5.. ..,....6. ...,....7. ...,....8. ...,....9"



                  ^!SetWizardLabel

                  "!SetWizardLabel. ...2...., ....3.... ,....4... .,....5.. ..,....6. ...,....7. ...,....8. ...,....9"



                  ^!Set %zar1%=^?{WizardVar iable1... .[~~value_ list, 6 entries, default

                  val1].6...., ....7.... ,....8... .,....9== _Value1|Value2| Value3|Value4| Value5|Value6} ;

                  %zar2%=^?{WizardVar iable2... .[~~value_ list, 4 entries, default

                  val2].6...., ....7.... ,....8... .,....9== Value1|_Value2| Value3|Value4} ;

                  %zar3%=^?{WizardVar iable3... .[~value_ list, 6 entries, default

                  val3]..6.... ,....7... .,....8.. ..,....9= Value1|Value2| _Value3|Value4| Value5|Value6} ;

                  %zar4%=^?{(T= A;H=7)WizardVari able4.... [(T~A;H~10) :~action_ list, 9 entries,

                  defaults

                  1,3,5&6].,.. ..8....,. ...9:=_Actn1| Actn2|_Actn3| Actn4|_Actn5| _Actn6|Actn7| Actn8|Actn9} ;

                  %zar5%=^?{Field Caption (no defaults)}

                  ;########### End of clip ############ ####

                  Run this clip and compare the presentation of the lines WizardVariable2... and WizardVariable3... with that of WizardVariable4... There is a slightly larger space for WizardVariable4.. than for the others (Art says its 15 pixels vs. 12 for the others).

                  So how does one get that 15 pixel space?

                  Graham Lawrence




                  [Non-text portions of this message have been removed]
                • graham lawrence
                  Tinkering some more with the clip Art Kocsis sent me, I now have a fairly useful generalization as to how to fully display 2 lines of text above a wizard edit
                  Message 8 of 8 , Dec 20, 2010
                  • 0 Attachment
                    Tinkering some more with the clip Art Kocsis sent me, I now have a fairly useful generalization as to how to fully display 2 lines of text above a wizard edit box, at least for 6.2, but Art reports that other versions may behave differently.

                    The preceding edit box cannot use the == specification, and must specify at least 2 possible values, one of which may or may not be a default.

                    This code behaves exactly like the clip Art sent me

                    ^!Set %zar1%=^?{WizardVariable1...^%nl%abc==_Value1|Value2|Value3|Value4|Value5|Value6}; %zar2%=^?{WizardVariable2...^%nl%abc==Value1|_Value2|Value3|Value4}; %zar3%=^?{WizardVariable3...^%nl%abc=Value1|Value2|_Value3|Value4|Value5|Value6}; %zar4%=^?{(T=A;H=7)WizardVariable4...^%nl%abc=0}; %zar5%=^?{Field Caption (no defaults)}

                    this variant demonstrates the generalization stated above

                    ^!Set %zar1%=^?{WizardVariable1...^%nl%abc==_Value1|Value2}; %zar2%=^?{WizardVariable2...^%nl%abc=Value1|Value2}; %zar3%=^?{WizardVariable3...^%nl%abc=Value2}; %zar4%=^?{WizardVariable4...^%nl%abc=_Value3|Value4}; %zar5%=^?{Field Caption ^%NL%(no defaults)}

                    Thanking you all for your help.

                    Graham Lawrence




                    [Non-text portions of this message have been removed]
                  Your message has been successfully submitted and would be delivered to recipients shortly.