Bring Window to Front not working .. also window won't close... please helpBring Window to Front not working .. also window won't close... need solution quick
Here is my code
plotobj = Bivariate( Y( :Name( "current" ) ), X( :Name( "time" ) ) );
plotobj << Bring Window to Front;
New Window( "Enter Number",
<<Text Box("Number"),
variablebox = Number Edit Box( ttf, 10,
<Function({this},
btn_ok << Click
)
)
),
btn_ok = Button Box( "OK",
entrie=variablebox << get;),
Button Box( "Cancel")
);
Close(plotobj);
Re: Bring Window to Front not working .. also window won't close... please helpI have run your code, and I am not seeing the issue with "Bring Window to Front". The window is brought to the front, and then your Modal window opens on top of it, which should be expected. If you don't want that, then you need to move the window to a position away from the plotobj location.
What is incorrect is your Close() function. What you want is:
plotobj << close window;