VisualAge RPG Parts Reference - IBM
VisualAge RPG Parts Reference - IBM VisualAge RPG Parts Reference - IBM
11 Rosa oscuro 12 Verde oscuro 13 Cian oscuro 14 Marrón 15 Gris claro Ejemplo de formato libre *...1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 CSRN01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq---- * C * EVAL HBcolor = %getatr('win01': 'SFL1': 'HdgBGClr') C * EVAL %setatr('win01': 'SFL1': 'HdgBGClr') = 5 Ejemplo de formato fijo *...1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 CSRN01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq---- * C * 'SFL1' GETATR 'HDGBGCLR' HBcolor 2 0 C * 'SFL1' SETATR 5 'HDGBGCLR' 234 VisualAge RPG Manual de consulta de componentes
HdgBGMix Consulta o establece la mezcla de colores de fondo de una cabecera de subarchivo. Tipo Serie Se aplica a los componentes Subarchivo Códigos de operación SETATR Operativo en tiempo de ejecución sí GETATR sí Valor permitido La mezcla del color de fondo debe tener el formato siguiente: 'rojo:verde:azul' donde rojo, verde y azul son valores situados entre 0 y 255 que representan la intensidad del color respectivo. Ejemplo de formato libre *...1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 CSRN01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq---- * C * EVAL HBclrMx=%getatr('win01':'SFL1':'HdgBGMix') C HBclrMx IFNE '10:23:200' C EVAL %setatr('win01':'SFL1':'HdgBGMix')='10:23:200' C * ENDIF Ejemplo de formato fijo *...1....+....2....+....3....+....4....+... .5....+....6....+....7....+....8 CSRN01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq---- * C 'SFL1' SETATR '10:23:200' 'HDGBGMIX' * Capítulo 2. Atributos de componente 235
- Page 202 and 203: Enabled Determina si el componente
- Page 204 and 205: Execute Al establecer este atributo
- Page 206 and 207: ExtSelect Determina si el component
- Page 208 and 209: FetchNext Si se establece este atri
- Page 210 and 211: FieldExit Hace que, al pulsar Intro
- Page 212 and 213: | | | | Tipo Serie Se aplica a los
- Page 214 and 215: Ejemplo de formato libre *...1....+
- Page 216 and 217: Focus Determina si el componente ti
- Page 218 and 219: FontArea Indica el área del compon
- Page 220 and 221: FontBold Determina si la etiqueta o
- Page 222 and 223: FontItalic Determina si la etiqueta
- Page 224 and 225: FontName Especifica el font que va
- Page 226 and 227: FontStrike * Restricción: Este atr
- Page 228 and 229: FontUnder * Restricción: Este atri
- Page 230 and 231: ForeColor Valor numérico que deter
- Page 232 and 233: ForeMix Consulta o establece la mez
- Page 234 and 235: Format Determina el formato de los
- Page 236 and 237: FrmtString Indica la forma en que s
- Page 238 and 239: GetNewID Devuelve un ID nuevo y exc
- Page 240 and 241: GetRcdIcon Devuelve el nombre de ar
- Page 242 and 243: GetTables Al establecer este atribu
- Page 244 and 245: GnEqGrpCol Genera un conjunto aleat
- Page 246 and 247: GraphType Indica qué tipo de gráf
- Page 248 and 249: GroupLabel Indica cuál es la etiqu
- Page 250 and 251: HasPrpPage Devuelve el valor 1 si e
- Page 254 and 255: HdgFGClr Valor numérico que determ
- Page 256 and 257: HdgFGMix Consulta o establece la me
- Page 258 and 259: HdgText El texto de la cabecera de
- Page 260 and 261: HelpEnable Visualiza información d
- Page 262 and 263: HelpWindow Origina la visualizació
- Page 264 and 265: HighLight Determina si se resalta e
- Page 266 and 267: HitItem Una vez establecido UnderPo
- Page 268 and 269: HlitPoints * Restricción: Este atr
- Page 270 and 271: IconHandle * Restricción: Este atr
- Page 272 and 273: InPlace Nota: Este atributo sólo s
- Page 274 and 275: InsertLine Inserta la serie especif
- Page 276 and 277: InsertRow Al establecer este atribu
- Page 278 and 279: Interval Determina el valor de inte
- Page 280 and 281: InvName *Restricción: Este atribut
- Page 282 and 283: IsData Indica si una operación Fet
- Page 284 and 285: Ejemplo de formato libre *...1....+
- Page 286 and 287: ItemKey Devuelve el valor de clave
- Page 288 and 289: Ejemplo de formato libre Cambiar la
- Page 290 and 291: | | | | | | | Left Especifica la co
- Page 292 and 293: Length Nota: Este atributo sólo se
- Page 294 and 295: LineText Recupera el texto de una l
- Page 296 and 297: Magnify Especifica el valor, en for
- Page 298 and 299: Maximum Determina el valor máximo
- Page 300 and 301: MiniIcon Este atributo determina la
11 Rosa oscuro<br />
12 Verde oscuro<br />
13 Cian oscuro<br />
14 Marrón<br />
15 Gris claro<br />
Ejemplo de formato libre<br />
*...1....+....2....+....3....+....4....+....5....+....6....+....7....+....8<br />
CSRN01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq----<br />
*<br />
C<br />
*<br />
EVAL HBcolor = %getatr('win01': 'SFL1': 'HdgBGClr')<br />
C<br />
*<br />
EVAL %setatr('win01': 'SFL1': 'HdgBGClr') = 5<br />
Ejemplo de formato fijo<br />
*...1....+....2....+....3....+....4....+....5....+....6....+....7....+....8<br />
CSRN01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq----<br />
*<br />
C<br />
*<br />
'SFL1' GETATR 'HDGBGCLR' HBcolor 2 0<br />
C<br />
*<br />
'SFL1' SETATR 5 'HDGBGCLR'<br />
234 <strong>VisualAge</strong> <strong>RPG</strong> Manual de consulta de componentes