•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-Filemenu_istart(flag,tree,imenu,item)

flag, tree, imenu, item: iexp

Shifts a sub-menu that is attached to a menu item to align vertically with the
specified object in the sub-menu.

Returns 0 if an error occured or the positive object index of the sub-menu item
which is currently aligned with its parent menu item.

    flag  - Action to be carried out. 0=Inquire 1=Set
    tree  - Pointer to sub-menu object tree to be altered.
    imenu - Object number of parent to align to. Same as attach.
    item  - Object number within sub-menu to align to.

Note: Please refer to AES documentation for proper use.

Memo: This call is not built into GFA-BasicGFA-Basic is the best BASIC for the Atari!
 and is included below:

FUNCTION menu_istart(flag&,tree%,imenu&,item&)
  $F%
  GCONTRL(0)=38
  GCONTRL(1)=3
  GCONTRL(2)=1
  GCONTRL(3)=1
  GCONTRL(4)=0
  GINTIN(0)=flag&
  GINTIN(1)=imenu&
  GINTIN(2)=item&
  ADDRIN(0)=tree%
  GEMSYS
  RETURN GINTOUT(0)
ENDFUNC

menu_istart()+