copy field from one stack to another
    Bob Hartley 
    rev at armbase.com
       
    Mon Jan 16 17:03:58 EST 2006
    
    
  
Hi All.
Back from my christmas holidays and forgoten everything. :)
I have one stack "Build from xdf" that has a text field called "text"> I'll
change this soon. I want to copy this to a test stack called destination.
This is dependent on a menu chioce.
I can get the button I have with the handler, to perform insertion of text
into a field depending on the menu choice (menui is om1), however, when I
make this button with the field copy script nothing happens.
Anything wrong with this?
on mouseUp
  put the selectedtext of button om1 into OM1temp
  if OM1temp is "text field" then
    copy field "text" of stack "Build from XDF" to stack Destination
    set the name of it to "Field1"
    end if
end mouseUp
Happy new year.
Bob
    
    
More information about the use-livecode
mailing list