Commandbutton different in 9.4 for CHUI

Author: lalitpct@gmail.com (lalitpct)

the command button in 9.4 in chui is not dispalying the text in the command button completetly , but same code displayed it in 8.4.

And this happens at lot of places and hence dont want to fix it code level , I thought it could be because of usys.ini ..but i doubt in chui it uses that as even after removing usys.ini it is still working.

 

http://imageshack.us/photo/my-images/17/commandbutton.jpg/

6 Comments

  1. Must be the Decoration property of the Command Button.
    You can switch this off in the .ini file.
    If that does not work you either changed the wrong .ini file or there is and external variation on this property on the Form.


    Author: Theo Neeskens (tneeskens@itblockz.nl)
  2. how does variation affect this one ...we have used variation


    Author: lalitpct (lalitpct@gmail.com)
  3. I have one one .ini file in the CHUI part  usys.ini , but that seems to be for windows whereas our chui is in unix.

    Apart from that we have $variation=SMART  , but how does this effect ..as we are assigning library to it.

     

     

     

    mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
    $variation = "SMART"  >

     


    Author: lalitpct (lalitpct@gmail.com)
  4. $variation sets the library. That is not what I mean.
    We call it a variation when you have specified something different in the properties of the commandbutton in the Form vs the .ini file.
    Whatever you specified in the Form will be used.


    Author: Theo Neeskens (tneeskens@itblockz.nl)
  5. we have only usys.ini file in the location
    8.4
    ----
    /opt/uniface/8406 >find . -name "*.ini" -type f
    /opt/uniface/8406 >
    but here decoration is off , even though i cant get ini file for this

    9.4
    -----
    /opt/uniface/9401 >find . -name "*.ini" -type f
    ./uniface/adm/usys.ini
    ./uniface/adm/uweb.ini
    but here decoration is on , and in this usys.ini file we have only [webwidgets] and not [widgets] ,
     I think for CHUI this is not used as even if i remove the file it doesnt make any difference.

    Is there any default settings picked up from somewhere which i cant see as in the forms and command button i cant see any decoration setting as well.

    Note this is for CHUI and not for GUI


    Author: lalitpct (lalitpct@gmail.com)
  6. Hi all I  redirected the path to the adm folder after which i was able to remove the decoration but now still we cant see the complete text .

    I think the issue is with height of the button ..

    the asn which i have redirected is as shon below ,can you tell me how to put size of the commandbutton ..

    /9401/common/adm >vi usyschr.asn
    "usyschr.asn" 9 lines, 218 characters
    ; logical to physical widget mapping

    [WIDGETS]
    EditBox=ueditbox
    CheckBox=ucheckbox
    RadioGroup=uradiogroup
    DropDownList=udropdownlist
    ListBox=ulistbox
    CommandButton=ucmdbutton(Decoration=No;tooltip=on;font=buttonfont;autolabel=off)
     

     

     


    Author: lalitpct (lalitpct@gmail.com)