Home > Community > Forums > Custom IC SKILL > how to display a field in a form using a menu item

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 how to display a field in a form using a menu item 

Last post Thu, Jun 28 2012 3:05 PM by Andrew Beckett. 1 replies.
Started by suzan 28 Jun 2012 06:48 AM. Topic has 1 replies and 868 views
Page 1 of 1 (2 items)
Sort Posts:
  • Thu, Jun 28 2012 6:48 AM

    • suzan
    • Not Ranked
    • Joined on Fri, Jun 15 2012
    • Posts 7
    • Points 125
    how to display a field in a form using a menu item Reply

    Hi,

    I would like to create a menu item in a window and when I activate this menu Item, a field (e.g. a button or a combo field) is displayed in the form contained in that window (I mean I want to create the field as a part of the form but I display it only when I activate a menu item)

    Is it possible to do this with skill? I know how to create the menu item and the fields of a form but I don't know how to customize the callback of the menu item in order to make the field visible.

    Thanks

    Saoussen 

    • Post Points: 20
  • Thu, Jun 28 2012 3:05 PM

    Re: how to display a field in a form using a menu item Reply

     Saoussen,

    Please look in the documentation for (say) hiCreateComboField. It explains about the ?invisible argument (which can be passed t), and then you can use:

    form->myfieldname->invisible=nil

    to make it visible again.

    Andrew.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by suzan at 28 Jun 2012 06:48 AM. Topic has 1 replies.