X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 14 Jul 2015 04:01 AM by  anon
Widget_Info /Valid_Id
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:7
New Member


--
14 Jul 2015 04:01 AM
    Can anyone tell me when the validity of a widget should be checked using the keyword Valid_Id for Widget_Info ? Thanks

    Zachary Norman



    Basic Member


    Posts:173
    Basic Member


    --
    14 Jul 2015 08:26 AM
    Hi Lee, Is there a specific scenario that you are looking to use widget_info? It may just be easier to use xregeistered (http://www.exelisvis.com/docs/XREGIST...) which will tell you if there is a widget that is registered with xmanager given a certain name. Using widget_info is tricky because you need to know the widget ID of the widget in question, so you need to have that information stored somewhere.

    Deleted User



    New Member


    Posts:7
    New Member


    --
    28 Jul 2015 12:21 AM
    There's no specific reason. The code I have inherited and seen online make use of it. I have also seen quite a bit of use of WIDGET_INFO with the /FIND_BY_UNAME option to obtain the correct widget id. I guess checking the validity of the widget is for when people are creating and destroying widgets frequently ?
    You are not authorized to post a reply.