Table field behavior
Bill
bill at bluewatermaritime.com
Fri May 20 10:47:04 EDT 2005
I think what I am looking for is in here:
on SetScroll
-- sets the table field and header fields scrolls if they are any
-- the syntax is not very comprehensible since this handler can set the
scroll of an unknown number of fields
-- then it refers to parameters by order/number and not by name using the
do command
lock screen
lock messages
repeat with i = 3 to the paramcount
do "put there is a fld" && param(i) && "into tFlag"
if tFlag then do "set the" && param(1) && "of fld" && param(i) && "to"
&& param(2)
-- param (3) to param(x) are the names of the fields
end repeat
unlock messages
unlock screen
end SetScroll
I'm I supposed to put the name of the field I am working with somewhere in
there so it will work?
On 5/20/05 9:54 AM, "Eric Chatonet" <eric.chatonet at sosmartsoftware.com>
wrote:
> Hi Bill,
>
> Le 20 mai 05 à 15:44, Bill a écrit :
>
>> What if you place the code in the script of the field in question
>> and then
>> not have to worry about the name of the field or about it being
>> called when
>> doing stuff in other fields which may not want affected?
>
> Don't forget that I only made a copy/paste from a demonstration stack
> where constraints are specific :-)
> You have to try and adapt it to your needs...
>
> Best regards from Paris,
>
> Eric Chatonet.
> ----------------------------------------------------------------
> So Smart Software
>
> For institutions, companies and associations
> Built-to-order applications: management, multimedia, internet, etc.
> Windows, Mac OS and Linux... With the French touch
>
> Plugins, tutorials and more on our website
> ----------------------------------------------------------------
> Web site http://www.sosmartsoftware.com/
> Email eric.chatonet at sosmartsoftware.com/
> Phone 33 (0)1 43 31 77 62
> Mobile 33 (0)6 20 74 50 86
> ----------------------------------------------------------------
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
| | |
)_) )_) )_)
)___))___))___)\
)____)____)_____)\\
_____|____|____|____\\\__
-------\ /--------- http://www.bluewatermaritime.com
^^^^^ ^^^^^^^^^^^^^^^^^^^^^
^^^^ ^^^^ ^^^ ^^
^^^^ ^^^
24 hour cell: (787) 378-6190
fax: (787) 809-8426
Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740
More information about the use-livecode
mailing list