|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
ExecuteWidgetChain()
1) I have a reference to a widget which shows an options menu, but if I call ExecuteWidgetChain() on this widget in Studio code the menu does not get displayed (but it seems to be there, I have to escape out to continue). If I select ExecuteWidgetChain() from within Studio the menu shows up fine
2) if I call ExecuteWidgetChain() on code that changes some state and calls Refresh() at the end (and which should change the UI elements shown), nothing happens. In this case, even executing it from within Studio does not make a difference. Question: is ExecuteWidgetChain() not applicable to any code which is doing UI stuff, or am I missing something ? Dirk |
#2
|
||||
|
||||
My understanding is that, like EvaluateExpression, ExecuteWidgetChain executes in a null variable context. It can't see any of the variable states set up by your widget code. So if the widgets you're trying to execute depend on such states, they're going to malfunction. Could this possibly explain what you're seeing?
__________________
-- Greg |
#3
|
|||
|
|||
Quote:
Dirk |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|