Uniface User Forum

 View Only
  • 1.  Uniface 9.7.05.058 Gold Keys for B, I and U are not working

    PARTNER
    Posted 02-11-2022 11:22
    We recently noticed that our RAW DATA field that used to support bold, italics and underlining in Uniface 9.7.04 does not work in Uniface 9.7.05.  I know this version is no longer supported, but I was wondering if anyone else has seen this.

    I made a simple test:
    $keyboard = "MSWINX"
    edit

    Then I put two fields on the form:  The first one is Raw Data, SR* (like we had in our application) and the second one is just a sc*.
    If I type a field, and then select it and tryin Gold^B, Gold^I or Gold^U, nothing happens in either field.

    I don't have a problem going forward with Uniface Rich Text Field.  My concern is what to do with the data my customers already have in the old format.

    Thanks for any input.

    ------------------------------
    Deturk Joanne
    Software Manager
    Mirion Technologies (Canberra), Inc.
    ------------------------------


  • 2.  RE: Uniface 9.7.05.058 Gold Keys for B, I and U are not working

    PARTNER
    Posted 02-14-2022 02:19
    you can change that kind of fields into a richtextbox, than a) you can use the html code anywhere. b) save's you translating.

    ------------------------------
    Dino Seelig
    Tcco
    Drunen NL
    ------------------------------



  • 3.  RE: Uniface 9.7.05.058 Gold Keys for B, I and U are not working

    PARTNER
    Posted 02-14-2022 07:47
    Dino,

    Yes, I am aware of that.  My problem is retaining the "old" data before I move my customers to the "newer" rich text edit box.  We have been using Uniface since 1992, so I need to be able to do something with that data that existed before the HTML support.

    Thanks,
    Joanne

    ------------------------------
    Deturk Joanne
    Software Manager
    Mirion Technologies (Canberra), Inc.
    ------------------------------



  • 4.  RE: Uniface 9.7.05.058 Gold Keys for B, I and U are not working

    PARTNER
    Posted 02-14-2022 08:03
    in case you use unifields, is it then not supported? (bold|italic)

    secondly, in the format/de-format trigger you can convert the uniface
    bold/italic into HTML strong and emphasize. That part is not easy, but
    in case you need to convert an option




  • 5.  RE: Uniface 9.7.05.058 Gold Keys for B, I and U are not working

    ROCKETEER
    Posted 02-14-2022 07:58
    I tested here using 9.7.05-058: Underline , bold , italic in Unifield  work only when using data type string.

    Peter Beugel
    Principal Technical Support Engineer

    ------------------------------
    Peter Beugel
    Rocket Internal - All Brands
    Amsterdam NL
    ------------------------------



  • 6.  RE: Uniface 9.7.05.058 Gold Keys for B, I and U are not working

    PARTNER
    Posted 02-14-2022 08:17
    This isn't a Unifield - it is an editbox

    ------------------------------
    Deturk Joanne
    Software Manager
    Mirion Technologies (Canberra), Inc.
    ------------------------------



  • 7.  RE: Uniface 9.7.05.058 Gold Keys for B, I and U are not working

    ROCKETEER
    Posted 02-14-2022 08:50
    The attributes information will stay in the data (create xml export with data there still is things like &uB &uU &uI)
    With an editbox you'll never see it and just 1 update in the field will lose the attributes information.
    Documentation in the Uniface library
    Uniface Reference > ProcScript Reference > Proc: Functions > $underline
    Uniface Reference > ProcScript Reference > Proc: Functions > $italic
    Uniface Reference > ProcScript Reference > Proc: Functions > $underline
    Uniface Reference > Configuration Reference > Configuration Settings: Initialization > Underline
    Uniface Reference > Configuration Reference > Configuration Settings: Initialization > Italic
    Uniface Reference > Configuration Reference > Configuration Settings: Initialization > Bold
    Uniface Reference > Development Object Properties Reference > Field Definitions > Field Layout Definitions

    all document that attributes are only applicable to unifields

    Peter Beugel
    Principal Technical Support Engineer

    ------------------------------
    Peter Beugel
    Rocket Internal - All Brands
    Amsterdam NL
    ------------------------------



  • 8.  RE: Uniface 9.7.05.058 Gold Keys for B, I and U are not working

    PARTNER
    Posted 02-14-2022 08:57
    Ahhhhhhhhhhh.  We did a blanket change on all Unifields to EditBoxes at some point and that must be what broke it!  I tried my test with a Unifield and it works.  

    So now we'll just look at the best way to convert the old data to new (and or add a new field for the new richtextbox).

    Thanks!

    ------------------------------
    Deturk Joanne
    Software Manager
    Mirion Technologies (Canberra), Inc.
    ------------------------------