Uniface 9.5 Appearence of Dropdownbox is faulty

Author: hansjoerg.mackh@ksk-gp.de (mackh)

when you use a ini file with the settings

[screen]
font0 = Courier New Western, 14, regular

and you draw a dropdownbox on a form

Example:

my_list = "1=choice1;2=choice2;3=choice3"
$fieldvalrep(my_dopdown) = my_list
my_list =2

and you run the form, the dropdownbox shows "choice2, choice3, a blank line" , the focus is on choice2.
I think this is an error.

if you use the setting:
 

[screen]
font0 = Courier New Western, 12, regular

and you run the form, the dropdownbox shows "choice1,choice2, choice3" , the focus is on choice2.
This is OK.

 


 

8 Comments

  1. Hi hansjörg,

    is it really an empty line or just a problem showing only a part of a character in windows when the fontsizes differ?


    Author: ulrich-merkel (ulrichmerkel@web.de)
  2. hi,

    it is a complete empty line. The dropdown list has in this case 4 entries: choice1; choice2;choice3; empty line.
    Where the line 1 (chice1) is not displayed, the list begins with choice2 and has a scrollbar.


    Author: mackh (hansjoerg.mackh@ksk-gp.de)
  3. ... has some buggish smell


    Author: ulrich-merkel (ulrichmerkel@web.de)
  4. Hi Ulrich,

    yes it seem so. This effect can also be created when you change the .ini file, section:
    [screen]
    cellheight=100

    if you use a value greater then 130 it is the same behavior.

     

     


    Author: mackh (hansjoerg.mackh@ksk-gp.de)
  5. you made a call track ?


    Author: richard.gill (richard.gill@agfa.com)
  6. not as yet


    Author: mackh (hansjoerg.mackh@ksk-gp.de)
  7. What is the size of your canvas font (font 0) when this happens?
    The canvas font controls the size of the character cells on your paint.
    When using fonts that are bigger than the canvas font, things usually go wrong.


    Author: Theo Neeskens (tneeskens@itblockz.nl)
  8. Hi Theo,

    font0 has the size 15, all others size 16.

    But it also appears when i change font0 to 16 points.

    I have send an example to the custommer support and they could reproduce the error.


    Author: mackh (hansjoerg.mackh@ksk-gp.de)