making a popup insert text.

Mark Smith mark at maseurope.net
Mon Oct 3 07:14:11 EDT 2005


John, a checkbox is just a type of button, so:

if hilite of btn "AFR" then answer "You ticked AFR"

Mark

On 3 Oct 2005, at 12:06, Thornton, John wrote:

> Bob,
> Don't worry about being "really basic", I also have the same  
> problem in that I can't access revonline from my machine.  I also  
> have a really basic question, being new to Revolution...
>
> How do I query the state of a CheckBoxes in a Button's script,  
> which is on the same card.  Please can you enlighten me with the  
> syntax.  I have tried
>
> if hilite of Check "AFR" = "true" then answer "You ticked AFR"
>
> "AFR" is the name of the CheckBox.  I have attached v. basic script  
> if anyone could take a couple of mins to show me where I am going  
> wrong.
>
> Regards
>
> John Thornton
> MAHLE Powertrain Ltd.
> Design Analysis
>
> Costin House, St. James Mill Road, Northampton, United Kingdom, NN5  
> 5TZ
> Phone: +44 870 157 3109  Fax: +44 870 157 3103
>
> john.thornton at gb.mahle.com   http://www.mahle.com
>
>
>
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of
> rev at armbase.com
> Sent: 03 October 2005 12:00
> To: runrevlist
> Subject: making a popup insert text.
>
>
> Hi All.
>
> Does anyone have a simple script that shows how to use a popup to  
> insert text
> into a field depending on the popup item chosen. Alternatively how  
> a popup is
> used to change the fontsize depending on the number chosen in the  
> popup. I know
> it is really basic, however, I cant access revonline here (weird  
> firewall issues
> I think).
>
> Cheers
> Bob
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list