Label view after label clear

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

paues
Posts: 218
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Label view after label clear

Postby paues » Mon May 13, 2013 11:48 pm

I have noticed that objects, after their labels have been clear, show in label view, rather than spreadsheet view, when they are double-clicked.

Example: After the code below has been executed, the series tmp is shown in spreadsheet view when double-clicked.

Code: Select all

close @all pagecreate q 1990 2010 series tmp=0
However, once the code is expanded with a label clear, tmp is shown in label view when double-clicked.

Code: Select all

close @all pagecreate q 1990 2010 series tmp=0 tmp.label(c)
Is this behavior intentional or is it a bug? In case it is intentional, is there some way to "programmatically" reset the view to spreadsheet? (Preferably without having to open the object.)

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Label view after label clear

Postby EViews Gareth » Tue May 14, 2013 7:59 am

tmp.sheet

paues
Posts: 218
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Re: Label view after label clear

Postby paues » Sun May 26, 2013 1:10 pm

Alright. That, however, opens the series in sheet view. There is no way to reset the view without also showing that view?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Label view after label clear

Postby EViews Gareth » Sun May 26, 2013 3:42 pm

Try:

Code: Select all

Do tmp.sheet

paues
Posts: 218
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Re: Label view after label clear

Postby paues » Mon May 27, 2013 12:23 am

While that does indeed not open the series, it also does not reset the view to sheet. A little bit of both solutions would be my preferred choice :-) Was this last behavior a bug? Should

Code: Select all

do tmp.sheet
reset the view to sheet without opening the series?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Label view after label clear

Postby EViews Gareth » Tue May 28, 2013 8:22 am

Possibly, we'll investigate.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests