Progress
Programming
Handbook


Defining a Radio Set

The following form of the VIEW–AS phrase defines a radio set:

SYNTAX
VIEW-AS RADIO-SET 
  [ HORIZONTAL [ EXPAND ] | VERTICAL ]
  [ size-phrase ] RADIO-BUTTONS label , value
      [ , label , value ] ...
  [ TOOLTIP tooltip ] 

When viewing a value as a radio set, you must minimally specify one label/value pair for each possible value of the underlying variable or field (the label is the label that appears with the button). You can optionally specify an orientation for the set (the default is vertical) and a size. For a horizontal radio set, you can also specify the EXPAND option. This option spaces the buttons uniformly based on the length of the longest button label. If you do not give this option, the spacing between buttons varies depending on the size of the labels.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095