attaching options form to user defined function

S

suresh j

Guest
Hi,

In Skill, how to attach an options form to an user defined function so
that it will be displayed when that function is called and F3 is pressed.

Also, the interactive functions such as leHiCopy() which work on the
selected set wait for the user to select something if nothing is
selected. How can I do this in an userdefined function.

Thanks in advance.

--
Suresh J
 
The options form you are referring to is nothing but a pop-up meny
that is called from invoking the bindkey/ dropdown menu.

So inorder to have your function get the options form, you need to
create the form using hiCreateAppForm, hiDisplayForm.. etc..

you could use enterPoint, enterBox & other enter functions to make the
user wait for the selection of points in your skill routine.

Partha


suresh j <sureshjeeva00@yahoo.com> wrote in message news:<3F6F0209.5020108@yahoo.com>...
Hi,

In Skill, how to attach an options form to an user defined function so
that it will be displayed when that function is called and F3 is pressed.

Also, the interactive functions such as leHiCopy() which work on the
selected set wait for the user to select something if nothing is
selected. How can I do this in an userdefined function.

Thanks in advance.
 
Actually it's not quite like that... close, but not quite...

The options form (as toggled by the F3 button) is indeed a form created
with hiCreateAppForm() - with the ?formType 'options argument passed.
Then, you invoke one of the enter functions (e.g. enterPoint, enterPoints,
etc, with the ?form argument passing it the form you created.

You might define a bindkey to initiate the function which calls enterPoint()
etc, but the F3 works by virtue of the fact that you've created an
options form and associated it with the enterFunction.

Andrew.

On 22 Sep 2003 12:56:05 -0700, cadeguy@yahoo.com (Partha) wrote:

The options form you are referring to is nothing but a pop-up meny
that is called from invoking the bindkey/ dropdown menu.

So inorder to have your function get the options form, you need to
create the form using hiCreateAppForm, hiDisplayForm.. etc..

you could use enterPoint, enterBox & other enter functions to make the
user wait for the selection of points in your skill routine.

Partha


suresh j <sureshjeeva00@yahoo.com> wrote in message news:<3F6F0209.5020108@yahoo.com>...
Hi,

In Skill, how to attach an options form to an user defined function so
that it will be displayed when that function is called and F3 is pressed.

Also, the interactive functions such as leHiCopy() which work on the
selected set wait for the user to select something if nothing is
selected. How can I do this in an userdefined function.

Thanks in advance.
--
Andrew Beckett
Senior Technical Leader
Custom IC Solutions
Cadence Design Systems Ltd
 

Welcome to EDABoard.com

Sponsor

Back
Top