Redlining

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Redlining

Postby Morley » Thu Oct 14, 2004 7:38 pm

I need to place a thin red line on top of a text field depending on the condition of a field in the record. (Some records will be redlined, others not).

I've created the red line with graphics tools and named it as an element. However calculations don't accept elements.

Stumped. Are there alternatives?
Morley Chalmers
7Office Inc.
User avatar
Morley
 
Posts: 891
Joined: Fri Apr 25, 2003 4:54 pm
Location: Toronto, Canada

Postby bcusick » Wed Oct 20, 2004 7:15 pm

Hi Morley,

Currently you can't control line elements programatically. There's no real solution, unless you want to UNDERLINE the value. You can use HTML to do that:

Code: Select all
<html><u>underline text</u></html>


Bob
bcusick
 
Posts: 1255
Joined: Wed Apr 23, 2003 11:27 pm
Location: Thousand Oaks, CA USA

Postby Morley » Wed Oct 20, 2004 8:55 pm

No cigar this time. I really want it obvious to the naive user the entry has been crossed out. I've solved it by creating a media calculation and overlaying it on top of the field. Works.
Morley Chalmers
7Office Inc.
User avatar
Morley
 
Posts: 891
Joined: Fri Apr 25, 2003 4:54 pm
Location: Toronto, Canada

Postby bcusick » Wed Oct 20, 2004 9:30 pm

Aheeemmmmm.... just use <s>strikethough</s>

Done. :D

Bob
bcusick
 
Posts: 1255
Joined: Wed Apr 23, 2003 11:27 pm
Location: Thousand Oaks, CA USA

Postby Morley » Thu Oct 21, 2004 1:36 am

bcusick wrote:Aheeemmmmm.... just use <s>strikethough</s>
Right again.
Morley Chalmers
7Office Inc.
User avatar
Morley
 
Posts: 891
Joined: Fri Apr 25, 2003 4:54 pm
Location: Toronto, Canada


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 29 guests

cron