Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Vertically Align Data? [SOLVED]

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Vertically Align Data? [SOLVED]
 Login/Join
 
Guru
posted
In the following FEX, is there a way to vertically align the data in the second two columns so that they will be centered vertically for each row and match the checkbox alignment in the first column?

-* File SelfDrillDown.fex
-SET &ECHO=ON;

-DEFAULTS &SORTORD='FIRST';
-* Previous sort column:
-DEFAULTS &PREVSRT='FIRST';
-* The SORTCOL column is used for sorting:
-DEFAULTS &SORTCOL='COUNTRY';
-* Set up the sort order appropriately:
-SET &SORTORD= IF &PREVSRT NE &SORTCOL THEN 'LOWEST' ELSE
- IF &SORTORD EQ 'LOWEST' THEN 'HIGHEST' ELSE 'LOWEST';
-*

DEFINE FILE CAR
COUNTER/D5 WITH CAR = COUNTER + 1 ;
INFLD/A255='
 <INPUT name=WHICH_CAR value=' | CAR | 'TYPE=CHECKBOX ID=respondent_checkbox1_' | EDIT[COUNTER) | '>  
';
END

TABLE FILE CAR
PRINT
INFLD AS ''
CAR
COUNTRY
BY &SORTORD TOTAL &SORTCOL NOPRINT
WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND' OR 'FRANCE'
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET PAGE-NUM OFF
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=8,
COLOR='BLACK',
STYLE=NORMAL,

$

TYPE=TITLE, COLUMN=P2, FOCEXEC=SelfDrill3 ( \
PREVSRT='&SORTCOL' \
SORTCOL='CAR' \
SORTORD='&SORTORD' \
), $


TYPE=TITLE, COLUMN=P3, FOCEXEC=SelfDrill3 ( \
PREVSRT='&SORTCOL' \
SORTCOL='COUNTRY' \
SORTORD='&SORTORD' \
), $


TYPE=TITLE, STYLE=-UNDERLINE,$
ENDSTYLE
END

This message has been edited. Last edited by: ChannyS,


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
<JG>
posted
add some size control to the checkbox. not perfect but helps.

 INFLD/A255='<INPUT style="height: 8pt;"  name=WHICH_CAR value=' | CAR | 'TYPE=CHECKBOX ID=respondent_checkbox1_' | EDIT(COUNTER) | '>';
 
 
Report This Post
Guru
posted Hide Post
Thanks for the suggestion. The following combination seems to have worked best for me:

style="height: 6pt;vertical-align:middle;"


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Vertically Align Data? [SOLVED]

Copyright © 1996-2020 Information Builders