gettingstarted
[Top] [All Lists]

Re: Return value Red if negative

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Return value Red if negative
From: Aaron Ballman <aaron at realsoftware dot com>
Date: Mon, 31 Jan 2005 17:24:59 -0600
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <BAY2-F30749779848FF70FE6798EDA7C0 at phx dot gbl>
if CanLose.Text < 0 then

if Val( VanLose.Text ) < 0 then
        CanLose.TextColor = &hFF0000
End if

Note that CanLose must have it's Styled flag set to true in the properties window.

HTH!

~Aaron
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>