This extract is a modifier to the well known grouped button UDF where it endevours to change the text on the specified buttons, namely button1 of each group of buttons. The Function enumerates correctly but I can not get the button text to change. I have guessed the ###.text is what I need to change but have no reference to check what components are required.
Code:
; Button1 Loop Modifier
  Function MainBtns
  $button_array = 10,20
  $boxcntr = 1
  $box = READPROFILESTRING(@scriptdir + $ini,"BOX" + $boxcntr,"BUTTON1")
  WHILE $box <>""
   REDIM $button_array[0]
   $button_array = SPLIT($cmd,";")
   $tmpvar = "BUTTON1"
   $BLANK = "~~~~~~"
   If $CPRCSV = $PRCSV
    $ = EXECUTE("$+$$cmdBOX$BOXCNT$TMPVAR.TEXT = $$BUTTON_ARRAY[0]")
   Else
    $ = EXECUTE("$+$$cmdBOX$BOXCNT$TMPVAR.TEXT = $$BLANK")
   Endif
  $boxcntr = $boxcntr+1
  $box = READPROFILESTRING(@scriptdir + $ini,"BOX" + $boxcntr,"BUTTON1")
  Loop
  EndFunction

1] Is the ###.text the component that is required and if not what is ?
2] Where can I find a reference to the different components supported.

I am using Kix release - 4.53