Project

General

Profile

Feature #1800

add some missing widget options

Added by Greg Shah over 11 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
02/21/2013
Due date:
% Done:

100%

Estimated time:
(Total: 112.00 h)
billable:
No
vendor_id:
GCD

Subtasks

Feature #2029: conversion support for the SIZE phraseClosedCostin Savin

Feature #2031: conversion support for remaining widget optionsClosed

Feature #2032: runtime support for widget optionsClosed

History

#1 Updated by Greg Shah over 11 years ago

Even if one of these options is supported in conversion, make sure the runtime support is implemented/complete.

Add:

EDGE-PIXELS, NO-FILL, GRAPHIC-EDGE, GROUP-BOX, TOOLTIP, AUTO-GO, AUTO-ENDKEY, AUTO-RETURN, DEBLANK, WIDGET-ID, NO-CONVERT-3D-COLORS, NO-FOCUS, TRANSPARENT, COLUMN-FGCOLOR, COLUMN-BGCOLOR, DISABLED, PASSWORD-FIELD, FILENAME, BLANK, NO-TAB-STOP

#2 Updated by Greg Shah over 11 years ago

  • Target version set to Milestone 12

#3 Updated by Greg Shah about 11 years ago

For milestone 4, add the SIZE clause to the conversion of widget options as in:

DEFINE BUTTON my-button AUTO-GO LABEL "Hello" SIZE 8 by 62.2 BGCOLOR 6.

DEFINE VARIABLE my-var AS CHARACTER LABEL "Something" 
   VIEW-AS RADIO-SET HORIZONTAL
      RADIO-BUTTONS
         "Thing 1", "Thing One",
         "Thing 2", "Thing Two" 
      SIZE 32 BY 1  NO-UNDO.

#4 Updated by Constantin Asofiei about 11 years ago

The full syntax of the size phrase is:

{ SIZE | SIZE-CHARS | SIZE-PIXELS } width BY height

where width/height are decimal for SIZE and SIZE-CHARS and integer for SIZE-PIXELS. Currently, SIZE and SIZE-CHARS convert to setHeightChars/setWidthChars in the frame definition's setup code. The SIZE-PIXELS clause is not emitted.

Is there anything else to do on this task ?

#5 Updated by Greg Shah about 11 years ago

For milestone 4, that is fine.

#6 Updated by Greg Shah about 11 years ago

From what I can tell, this is only in 2 places in the server code and both are in a procedure that can't be called on the server. So, we don't need to implement any runtime support for milestone 7.

#7 Updated by Greg Shah about 9 years ago

  • Status changed from New to Closed

Most of this work got done with the button, rectangle and image widget implementations. The remaining work will be done as part of #2567.

#8 Updated by Greg Shah over 7 years ago

  • Target version changed from Milestone 12 to GUI Support for a Complex ADM2 App

Also available in: Atom PDF