Uniface User Forum

 View Only
  • 1.  Copy uniface source code into an editbox with gold characters

    Posted 26 days ago

    How can I copy uniface source code (with gold characters) into an editbox , and visa versa.

    I am starting to scratch my head if gold (gold-* or gold-;) can actually be used with copy paste :-/



    ------------------------------
    Osman Shariff
    ------------------------------


  • 2.  RE: Copy uniface source code into an editbox with gold characters

    PARTNER
    Posted 24 days ago

    Hi
    I have no problems copying like you say in Uniface9.
    It's also working in Uniface 10.04.02, starting from the application.
    However, in Uniface 10.04.02 I have som strangeness getting gold directly from keyboard into the source. It looks like a green asterisk, which is different from the one I get in my own Uniface10 application (looks like a point, which however can be copied to the source).

    I haven't yet been programming that much with Uniface10 so I don't know about the gold here...
    What version are you using?


     Regards RogerW



    ------------------------------
    Roger Wallin
    Abilita Oy
    ------------------------------



  • 3.  RE: Copy uniface source code into an editbox with gold characters

    Posted 24 days ago

    I am on 10.4.01.  I should mention the steps more indepth.

    I copy a line of uniface source code from the ide into an editbox....

    It works although the character for gold characters is a back arrow

    It I copy the editbox text and paste it into the ide, the gold is maintained.... so all good so far

    I copy the editbox to another editbox (FIELD1 = FIELD2) 

    FIELD2 has lost the gold.  The backarrow is converted to .; in the case of gold-;

    paste FIELD2 into the ide.... the gold is lost.

    The loss of the gold is the problem I have.



    ------------------------------
    Osman Shariff
    ------------------------------



  • 4.  RE: Copy uniface source code into an editbox with gold characters

    PARTNER
    Posted 21 days ago

    I suppose writing with keyboard the   gold-;  into field1, allow a successful copy to field2?  



    ------------------------------
    Roger Wallin
    Abilita Oy
    ------------------------------



  • 5.  RE: Copy uniface source code into an editbox with gold characters

    Posted 21 days ago

    Actually not....  

    Okay... I just remembered something that I must have forgot a while back.... 

    I believe I am right in says that uniface gold characters can not be held in an editbox.... 

    The solution is to use a unifield....  This now works.  

    FIELD1 and FIELD2 need to be unifields.

    * You end up losing all the niceities of an editbox but is sometimes needed



    ------------------------------
    Osman Shariff
    ------------------------------