Uniface User Forum

 View Only
  • 1.  "Modeled" Entity - still getting used to 10.4

    Posted 30 days ago

    We have certain entities that we use like templates - all the code we need is in the entity.

    In the past, I could remove unused procs in the entity, once it was painted on the form.

    I did that in 10.4.2 and ACK - I actually removed it from the ENTITY.  Not what I wanted to do.

    What is the recommended approach for using entites that have code that you may wish to override?



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


  • 2.  RE: "Modeled" Entity - still getting used to 10.4

    Posted 28 days ago

    Hi Joanne

    Try this 

    undeclare trigger aName


    ------------------------------
    Ingo Stiller
    Aareon Deutschland GmbH
    ------------------------------



  • 3.  RE: "Modeled" Entity - still getting used to 10.4

    Posted 9 days ago

    Thanks!  The undeclare is new to me.  I'll try that next time.



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



  • 4.  RE: "Modeled" Entity - still getting used to 10.4

    Posted 25 days ago

    I would say v10 works the same as the older versions in your case.  But the ide is a bit different.

    What you may have done wrong is to double click on the trigger modules on the right hand side of the ide and modified it.   This will open the entity model and will allow you to change the model!

    In v10, you do not see the model triggers in the component scripts.

    The easy way to do what you want is to...

    double click on  the model trigger you want different.

    This will open the entity model tab

    Copy it with ctrl-c

    Close the model tab 

    Go back to your component and paste the trigger code in the component entity.

    Make your changes and all will be okay.



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