1
0
-1

Hi everyone, our team has just started developing in U9.7, first of all porting our main applications from 9.6 to 9.7: in my PC and in every colleagues one we had the same issue, we miss some icon/gliph in IDF that it make it almost unusable:

They all are clean installations made by downloading U9.7 from uniface website, platform tested with same issue are windows10 and windows2008. We have tryed to reload the uniface defaults from U9705\uniface\misc\udefault.xml file and to patch IDF to 9.7.05.021: nothing changed

thanks for any idea

Simone


    CommentAdd your comment...

    4 answers

    1.  
      1
      0
      -1

      Thanks Daniel I think you pointed us in the right direction, digging in the usys.ini file I found that in the [widgets] section we only have this two entryes apparently regarding U9.7:


      IDFButtonBottom=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;font=IDFButtonText;labelfont=IDFButtonText;backcolor=#01A7E1;backcolorselect=#97D5EC;backcolorhover=#55C1E8;backcolorfocus=#0084CC;forecolor=white;forecolorselect=black;vsize=80;autolabel=F;position=center;valign=center)
      IDFButtonImage=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;transparency=T)


      but looking for that in the uniface CHM library I found that there are 8 new widgets in U9.7:

      IDFSpeedSearch
      IDFTextCell
      IDFButtonBottom
      IDFButtonSide
      IDFButtonHeader
      IDFButtonImage
      IDFButtonSpecial
      IDFOpenProfile

      6 of these definitions are missing in the U9.7 downloadable setup from the https://download.uniface.com/downloads/Uniface/distributions website!

      can you please provide me the missing entries or we must download the old U9701 and copy+paste that 6 missing INI definitions?


      thanks in advance

      Simone


      1. Daniel Iseli

        Thanks for your reply.

        In case you only find two entries in the [widgets] section then you either look at the usys.ini in \common\adm (instead of \uniface\adm) or the default usys.ini somehow has been overwritten.

        When you do a default installation of Uniface 9.7 then the usys.ini in \uniface\adm will include the logical widget definitions mentioned in the documentation (CHM library):

        ; Logical widgets Uniface 9.7:
        ; Note: These widgets cannot be used from the Uniface development environment.
        IDFSpeedSearch=ueditbox(font=editfont;onedit=T)
        IDFTextCell=ueditbox(font=editfont)
        IDFButtonBottom=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;font=IDFButtonText;labelfont=IDFButtonText;backcolor=#01A7E1;backcolorselect=#97D5EC;backcolorhover=#55C1E8;backcolorfocus=#0084CC;forecolor=white;forecolorselect=black;vsize=80;autolabel=F;position=center;valign=center)
        IDFButtonSide=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;font=IDFButtonText;labelfont=IDFButtonText;backcolor=#01A7E1;backcolorselect=#97D5EC;backcolorhover=#55C1E8;backcolorfocus=#0084CC;forecolor=white;forecolorselect=black;vsize=80;autolabel=F;position=top)
        IDFButtonHeader=ucmdbutton(representation=Header;cursor=uhand;halign=left;valign=center;font=label)
        IDFButtonImage=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;transparency=T)
        IDFButtonSpecial=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;font=IDFButtonText;labelfont=IDFButtonText;backcolor=#01A7E1;backcolorselect=#97D5EC;backcolorhover=#55C1E8;backcolorfocus=#0084CC;forecolor=white;forecolorselect=black;vsize=80;POSITION=CENTER)
        IDFOpenProfile=ueditbox(frame=T;font=editfont;autoselect=on;dimmedbackcolor=off;dblclk=detail;multiline=F)

        I hope this helps.

        Daniel

      2. Simone Pecchenino

        Thanks Daniel, i found those missing entries in uniface\adm\usys.ini you pointed me

        I confirm that they were missing in the common\adm\usys.ini file of all of our clean installations

        just done copy+paste, everything is working now

        thank you very much!

        Simone

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Hi Simone

      As Daniel said, check your ini file. Some colleagues had the same problem and was due they had this single line wrong within the ini file: 

      usysadm=d:\uniface\u97\common\adm

      instead of 

      usysadm=d:\uniface\u97\uniface\adm


      Regards

      Luis

      1. Simone Pecchenino

        Hi Luis, yes the INI located in COMMON\ADM had the missing lines

        Since 9.4 we always used only that INI e non the one located in UNIFACE\ADM, as we do not specify /ADM in the application shortcut

        where I can find that usysadm setting?

        thank you

      CommentAdd your comment...
    3.  
      1
      0
      -1

      Hi all,

      those 6 logical widgets missing are NOT the only difference between the two usys.ini files!
      As already mentioned from Daniel the one under uniface\adm is for development while the one under common\adm is for servers and services: urouter, userver, udbg, ... Some differences are originated from the different usages but it would be nice if they could be maintained aligned into distribution as much as possible, documenting lines that MUST be different for any reason.

      Here my complete list of lines missing or different between the two files:

      1)
      [areaframes]
      SHORTCUTS=uframe(backcolor=#66B2E6;attach=hsize,vsize)

      2) Into CommandButton logical widget definitions:
      actoneachclick=on

      3)
      IDFSpeedSearch=ueditbox(font=editfont;onedit=T)
      IDFTextCell=ueditbox(font=editfont)
      IDFButtonBottom=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;font=IDFButtonText;labelfont=IDFButtonText;backcolor=#01A7E1;backcolorselect=#97D5EC;backcolorhover=#55C1E8;backcolorfocus=#0084CC;forecolor=white;forecolorselect=black;vsize=80;autolabel=F;position=center;valign=center)
      IDFButtonSide=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;font=IDFButtonText;labelfont=IDFButtonText;backcolor=#01A7E1;backcolorselect=#97D5EC;backcolorhover=#55C1E8;backcolorfocus=#0084CC;forecolor=white;forecolorselect=black;vsize=80;autolabel=F;position=top)
      IDFButtonHeader=ucmdbutton(representation=Header;cursor=uhand;halign=left;valign=center;font=label)
      IDFButtonImage=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;transparency=T)
      IDFButtonSpecial=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;font=IDFButtonText;labelfont=IDFButtonText;backcolor=#01A7E1;backcolorselect=#97D5EC;backcolorhover=#55C1E8;backcolorfocus=#0084CC;forecolor=white;forecolorselect=black;vsize=80;POSITION=CENTER)
      IDFOpenProfile=ueditbox(frame=T;font=editfont;autoselect=on;dimmedbackcolor=off;dblclk=detail;multiline=F)

      4)
      ; Uniface 9.7 development environment application settings:
      shell=ushell(backcolor=#F9FCFF)
      window=uwindow(backcolor=white)
      menu=umenu(backcolor=white;forecolor=black;backcolorselect=#0084CC;forecolorselect=white;backcolorfill=flat)
      panel=upanel(backcolor=white;backcolorhover=white;backcolorlocked=#55C1E8;backcolorselect=#97D5EC;bordercolorhover=#55C1E8;bordercolorlocked=#0084CC;bordercolorselect=#0084CC)

      5)
      cefrenderercache = 20

      6)
      IDFButtonTextLarge=Segoe UI,Western,12,bold
      IDFCategories=Microsoft Sans Serif,13,regular

      7)
      ; Do not use the stored printerport in the
      ; logical printer definitions. Set to true when
      ; compatibility is needed.
      useprinterport=FALSE

      8) Some empty lines here and there...

      Gianni


        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi Simone,

        By default the IDF is using the usys.ini file from {Uniface 9.7 install dir}\uniface\adm. This file contains all the settings required by the IDF (e.g. logical widget definitions for the IDF buttons). In case some of the buttons in the IDF are not displayed correctly then the IDF apparently uses a different INI file.

        Here's an example of a IDF shortcut that is created by the Uniface installer:

        • Target: "C:\Program Files (x86)\Uniface\Uniface 9.7.01\common\bin\idf.exe" "/adm=C:\Program Files (x86)\Uniface\Uniface 9.7.01\uniface\adm" ?
        • Start in: "C:\Users\test\Documents\Uniface 97 Development\project\"

        Please note the /adm command line switch.

        I hope this helps.

        Kind regards,
        Daniel

          CommentAdd your comment...