I wrote the following lines:
for !i=1 to !j
tobjetos(!i+1,1)=!i
tobjetos(!i+1,2)=%lista{!i}
tobjetos(!i+1,3)={%lista{!i}}.@type
tobjetos(!i+1,4)={%lista{!i}}.@description
next
I have a problem because when open any object on the archive eviews generated, this show the label and not the object (graph, table....)
View of the objects
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: View of the objects
That's a little cryptic. Could you provide more information?
Re: View of the objects
Ok. I wrote large program with 373 object: graphs, tables, svectors, and so on. Finally because i needed to write all description of the object I write the description
on the objects list on svector_lista_objetos:
svector_lista_objetos=@wsplit(@wlookup("*"))
for !i=1 to @rows(svector_lista_objetos)
%lista{!i}=svector_lista_objetos(!i)
svector_tipo_objetos(!i)={%lista{!i}}.@type
next
for !i=1 to 220
{%lista{!i}}.label(c)
next
for !i=303 to 343
{%lista{!i}}.label(c)
next
for !i=1 to !j
tobjetos(!i+1,1)=!i
tobjetos(!i+1,2)=%lista{!i}
tobjetos(!i+1,3)={%lista{!i}}.@type
tobjetos(!i+1,4)={%lista{!i}}.@description
next
the problem is that when I open any object on the eviews file generated for the program, the object show the following view the "Object Description", for example:
table: view "table description":
Name:
Display Name:
Last Update:
Description:
Source:
Units:
Remarks:
And if I want to see the object I have select: View>Table. I need please that when I open any object this it open on "object view" and not on "object description".
on the objects list on svector_lista_objetos:
svector_lista_objetos=@wsplit(@wlookup("*"))
for !i=1 to @rows(svector_lista_objetos)
%lista{!i}=svector_lista_objetos(!i)
svector_tipo_objetos(!i)={%lista{!i}}.@type
next
for !i=1 to 220
{%lista{!i}}.label(c)
next
for !i=303 to 343
{%lista{!i}}.label(c)
next
for !i=1 to !j
tobjetos(!i+1,1)=!i
tobjetos(!i+1,2)=%lista{!i}
tobjetos(!i+1,3)={%lista{!i}}.@type
tobjetos(!i+1,4)={%lista{!i}}.@description
next
the problem is that when I open any object on the eviews file generated for the program, the object show the following view the "Object Description", for example:
table: view "table description":
Name:
Display Name:
Last Update:
Description:
Source:
Units:
Remarks:
And if I want to see the object I have select: View>Table. I need please that when I open any object this it open on "object view" and not on "object description".
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: View of the objects
Ah, I see.
When you do the label(c) proc from an object it changes the current view to the label view, then when you next open the object by double clicking, it will be on that label view. Change all of your label(c) lines to be:
The "do" at the front should stop the label view from becoming the default.
When you do the label(c) proc from an object it changes the current view to the label view, then when you next open the object by double clicking, it will be on that label view. Change all of your label(c) lines to be:
Code: Select all
do {%lista{!i}}.label(c)
Re: View of the objects
Wonderful Gareth it works very good :D, thanks a lot.
Sorry, but I have other problem. Some objects: all descriptions "sample" object and a few descriptions "graph" objects not appears on the "Details +/-". The code that I used is for example:
{%lista136}.label(d) Gráfico de serie histórica
thanks.
Sorry, but I have other problem. Some objects: all descriptions "sample" object and a few descriptions "graph" objects not appears on the "Details +/-". The code that I used is for example:
{%lista136}.label(d) Gráfico de serie histórica
thanks.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: View of the objects
Sorry, I'm not sure I follow what you mean.
Re: View of the objects
My problem is that I make two subroutines for graphs and sample and any description for this objects appears on "details +/-".
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: View of the objects
Still not sure what you're saying.
Re: View of the objects
Garreth,
I wrote the "description" to the object "graph" and "sample" with the following sentences:
{%lista136}.label(d) Gráfico de serie histórica
But the description no appears o I can´t see on the "Details +/-". I think that graphs and sample that I can´t see the descriptions were generated with
two subroutines or command fail on this 2 objtect: graph and sample.
Do you understand me now?
I wrote the "description" to the object "graph" and "sample" with the following sentences:
{%lista136}.label(d) Gráfico de serie histórica
But the description no appears o I can´t see on the "Details +/-". I think that graphs and sample that I can´t see the descriptions were generated with
two subroutines or command fail on this 2 objtect: graph and sample.
Do you understand me now?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: View of the objects
I cannot replicate that:
http://www.eviews.com/Forum_support/gra ... aphlab.htm
http://www.eviews.com/Forum_support/gra ... aphlab.htm
Who is online
Users browsing this forum: No registered users and 0 guests
