MENUITEM PREDISPLAY

Gildas VIAUD gildas.viaud at cheops.fr
Thu Sep 21 02:30:53 CDT 2006


Joe,
It doesn't work with 'actionbar startup' too.

Gildas

-----Message d'origine-----
De : Joe Boyle [mailto:atla38 at dsl.pipex.com]
Envoyé : mercredi 20 septembre 2006 20:26
À : 'Darren Reely'; Gildas VIAUD
Cc : powerh-l at lists.sowder.com
Objet : RE: MENUITEM PREDISPLAY


I think you need to say 'actionbar startup' on the screen statement.

-----Original Message-----
From: powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com
[mailto:powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com] On Behalf Of
Darren Reely
Sent: 20 September 2006 18:51
To: Gildas VIAUD
Cc: powerh-l at lists.sowder.com
Subject: Re: MENUITEM PREDISPLAY

The best I could come up with is this, but it still requires you press 
the return key. I couldn't see a way to popup menu items for particular 
actionmenu.

  procedure init
  push ActionBar

Darren


Gildas VIAUD wrote:
> Hello Listers,
> I would like to use ACTIONMENU and MENUITEM within a "PREDISPLAY" mode,
but it doesn't work.
> Even on an empty subscreen, you have to press the return key to display
the menuitems.
> Who have any idea about this issue ?
> Thanks in advance for your help.
> Gildas VIAUD.
>
> Here are two small programs for tests :
>
>  
> SCREEN xmenu1  from 1,1 TO 22,80  &
>        menu                      &
>        nomode                    &
>        noaction                  &
>        message on line 24        &
>        actionbar on line 1
>  
> SET MENUKEYS
>
> ACTIONMENU label "Options"
> MENUITEM label "Option 1"    action designer OPT1
> MENUITEM label "Option 2"    action designer OPT2
> MENUITEM label "Option 3"    action designer OPT3
> MENUITEM label "Exit"        action   RETURN
>
>
> PROCEDURE DESIGNER OPT1;
> BEGIN
>  RUN SCREEN xopt1 
> END;
>
> PROCEDURE DESIGNER OPT2
> BEGIN
>  RUN SCREEN xopt2 
> END;
>
> PROCEDURE DESIGNER OPT3
> BEGIN
>  RUN SCREEN xopt3 
> END
>
> BUILD
>
>
> SCREEN xopt1 FROM 2,1  to 23,36  &
>        menu                      &
>        nomode                    &
>        noaction                  &
>        message on line 24        &
>        actionbar on line 1
>  
> SET MENUKEYS
>
> ACTIONMENU label "Your action"   
> MENUITEM   label "First"          action   DESIGNER ACT1
> MENUITEM   label "Second"         action   DESIGNER ACT2
> MENUITEM   label "Third"          action   DESIGNER ACT3      	
> MENUITEM   label "Exit"           action   RETURN
>
> PROCEDURE DESIGNER ACT1
> BEGIN
>  RUN SCREEN xact1 
> END
>
> PROCEDURE DESIGNER ACT2
> BEGIN
>  RUN SCREEN xact2
> END
>
> PROCEDURE DESIGNER ACT3
> BEGIN
>  RUN SCREEN xact3 
> END
>
> BUILD
>
>  
>
>   
-- 
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: "subscribe" in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the list
archive at Google.







More information about the powerh-l mailing list