Results 1 to 2 of 2

Thread: colour change in form

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Answers
    1

    colour change in form

    how to deplay the salary less than 3000 in one colour ,please tell me the where to write code in form


  2. #2
    Contributing Member
    Join Date
    Nov 2007
    Answers
    53

    Re: colour change in form

    STEPS:

    1) Use a for loop on block to identify SAL<3000

    2) Use SET_ITEM_PROPERTY('FIELDNAME',FOREGROUND_COLOR,'COLOUR VALUE')

    OR

    Use SET_ITEM_PROPERTY('FIELDNAME',BACKGROUND_COLOR,'COLOUR VALUE')

    OR

    create a visual attribute first and
    assign it to the FIELD when SAL<3000
    by using
    SET_ITEM_PROPERTY('FIELDNAME',VISUAL_ATTRIBUTE,'NAME OF VISUAL ATTRIBUTE')


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact