New build of AfterGRASP is up for download:

http://www.aftergrasp.com/download/agsetup_20060424.exe


----------------------------------------------------------------------------
Mon, 24 Apr 2006

The return values from IMAGEPUT (which are the XPOS and YPOS where the image
was actually placed) are now corrected for DRAWOFFSET.


Two new commands ARRAYPAIR and ARRAYPAIRS.

  ARRAYRESULT = ARRAYPAIR(ITEM1, ATTRIB1, ITEM2, ATTRIB2, ITEM3,
ATTRIB3, ..., ...)
  ARRAYRESULT = ARRAYPAIRS(ITEM1, ITEM2, ITEM3, ..., ATTRIB1, ATTRIB2,
ATTRIB3, ...)


They function like ARRAY, creating a sequential array starting with
index 0 onward. But they take both values and attributes, so for instance:

  MENUARRAY[0] = "About"
  MENUARRAY{0} = labelshowabout
  MENUARRAY[1] = "Speed"
  MENUARRAY{1} = &SPEEDMENUARRAY
  MENUARRAY[2] = "Exit"
  MENUARRAY{2} = labelexitnow

Can now be written as:

  MENUARRAY = ARRAYPAIR("About", labelshowabout, "Speed",
&SPEEDMENUARRAY, "Exit", labelexitnow)

Or using ARRAYPAIRS like this:

  MENUARRAY = ARRAYPAIRS("About", "Speed", "Exit", labelshowabout,
&SPEEDMENUARRAY, labelexitnow)




SYSTRAYMENU now working, and has support for grayed and checked entries.

Grayed and checked use a prefix (which is not displayed) on the menu
text. "GRAY:" for grayed out, and "CHECK:" for checked. You can use
both at the same time if you like:

  SPEEDMENUARRAY[0] = "1 Second"
  SPEEDMENUARRAY{0} = label1sec
  SPEEDMENUARRAY[1] = "CHECK:2 Seconds"
  SPEEDMENUARRAY{1} = label2sec
  SPEEDMENUARRAY[2] = "5 Seconds"
  SPEEDMENUARRAY{2} = label5sec
  SPEEDMENUARRAY[3] = "10 Seconds"
  SPEEDMENUARRAY{3} = label10sec
  SPEEDMENUARRAY[4] = "30 Seconds"
  SPEEDMENUARRAY{4} = label30sec
  SPEEDMENUARRAY[5] = "1 Minute"
  SPEEDMENUARRAY{5} = label1min
  SPEEDMENUARRAY[6] = "2 Minutes"
  SPEEDMENUARRAY{6} = label2min
  SPEEDMENUARRAY[7] = "5 Minutes"
  SPEEDMENUARRAY{7} = label5min
  SPEEDMENUARRAY[8] = "10 Minutes"
  SPEEDMENUARRAY{8} = label10min
  MENUARRAY = ARRAYPAIR("About", labelshowabout, "Speed",
&SPEEDMENUARRAY, "Exit", labelexitnow)



----------------------------------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"aftergrasp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/aftergrasp
-~----------~----~----~----~------~----~------~--~---

Reply via email to