×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Style Sheets

Style Sheets

Style Sheets

(OP)
Has anyone setup "Style Sheets" ?  Where do you put them to be shared by everyone.  In setting one up I've found that it has to reside in the same domain as the report that is including it.  I'd rather not have to maintain a copy in each domain.

RE: Style Sheets

You can make a stylesheet by writing code in a member with extension ".STY". This component has to reside in the Focexec-directory or any directory specified in the path of the WebFocus server.

In your focexec you can use the statement

ON TABLE SET STYLE ststyle

where ststyle is the name of your stylesheetmember.
example of a stylesheet

TYPE=REPORT, ORIENTATION=PORTRAIT, FONT=ARIAL, SIZE=10, GRID=OFF, SQUEEZE=ON, $
TYPE=HEADING, BACKCOLOR=BLUE, $
TYPE=HEADING, LINE=1, BACKCOLOR=BLACK,
 COLOR=WHITE, FONT=TIMES, STYLE=+ITALIC, SIZE=14, $
TYPE=HEADING, LINE=1, OBJECT=TEXT, ITEM=1, COLOR=RED,
 SIZE=14, STYLE=BOLD, FONT=ARIAL, $
TYPE=HEADING, LINE=11, BACKCOLOR=WHITE, $
TYPE=HEADING, LINE=12, BACKCOLOR=WHITE, $
TYPE=TITLE, BACKCOLOR=YELLOW,
 STYLE=BOLD, FONT=ARIAL, $
TYPE=ACROSSTITLE, BACKCOLOR=CYAN,
 STYLE=BOLD, FONT=ARIAL, $


Frank van de Kant
http://www.explicit.nl

RE: Style Sheets

(OP)
Thanks for the help.  Any chance you've created a STYLESHEET with a parameter ?  

RE: Style Sheets

You can use a ampersand-parameter in your stylesheet. It will be interpreted before Focus writes it to the focstack.

Frank van de Kant
http://www.explicit.nl

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close