Open Forum

 View Only
  • 1.  Accessing BackColor Property for Added Filed on Modified Form

    Posted 27 days ago
    My Customer Service department has requested that the backcolor of a field that I have added on a form change depending upon what gets populated in that field.  For example, if the field displays "Active", they would want the backcolor set to Green, etc...


    I have some experience with adding fields and populating them with data through .NET and then adding that .dll to the addin folder but I can't figure out how to access the backcolor property on that field.

    I have imported the Microsoft.Dexterity.Bridge as well as MIcrosoft.Dexterity.Applications in my code so I am able to access some of the field properties such as Value, Focus, Clear but nothing regarding backcolor...




    Do any of you programmers have an idea as to how to access the backcolor on that field?  Do I need to reference something else that has those properties included?

    ------------------------------
    Greg Wahl
    IT Applications Supervisor
    Owensboro Municipal Utilities
    Owensboro KY
    ------------------------------


  • 2.  RE: Accessing BackColor Property for Added Filed on Modified Form
    Best Answer

    GPUG ALL STAR
    Posted 26 days ago
    Only Dexterity can do change the background Colours.

    You would need to use pass through Dexterity or Visual Studio Integration Toolkit helper functions.

    Also GP Power Tools can create the entire customisation for you without needing external development tools.

    Regards

    David

    ------------------------------
    David Musgrave MVP, GPUG All-Star

    Managing Director
    Winthrop Development Consultants

    Perth, Western Australia

    http://www.winthropdc.com
    ------------------------------



  • 3.  RE: Accessing BackColor Property for Added Filed on Modified Form

    Posted 21 days ago
    Thanks to David's help and GP Power Tools, we were able to accomplish the setting of the backcolor property depending upon what gets populated in that field.  He was also very gracious and took the time to show me other features of GP Power Tools.

    Thanks Again David!

    ------------------------------
    Greg Wahl
    IT Applications Supervisor
    Owensboro Municipal Utilities
    Owensboro KY
    ------------------------------



If you've found this thread useful, dive deeper into User Group community content by role