Skip to Content
author's profile photo Former Member
Former Member

raise exception when get ScreenTop of GuiMenu

Hi expert,

When i get ScreenTop property of a GuiMenu object, It raise an exception. Please help me know how can I get GuiMenu ScreenTop and what control i can get this property.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 05, 2007 at 01:56 PM

    Hi Thanh,

    the GuiMenu does not support this property, even though it is mentioned in the type library. The reason is that the script will access the menu data only, not the rendered window. We will change the behaviour so that you receive a -1 result instead of an exception.

    Thanks for reporting the problem.

    Best regards,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.