• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
updating tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

updating tableview


  • Subject: updating tableview
  • From: droom departement <email@hidden>
  • Date: Fri, 5 Nov 2010 14:30:48 +0100

I'm trying to setup a NSTableView binded up to an NSArrayController,
part of the script:

script myAppLog

property parent : class "NSObject"

property theLogData : missing value -- binded up to a NSArrayController

property myProp : missing value

property myProp2 : missing value

property myProp3 : missing value

property myLogCounter : 0

** This part is working fine, when a push the button, some data is added to the table view.


on LogIet_(sender) -- bindend to a button

set myLogCounter to myLogCounter + 1

if myLogCounter = 1 then

set my theLogData to {{LogDate:"Ray", LogProcess:"Robertson", LogAction:"actie"}} --  & my theLogData

else

set my theLogData to {{LogDate:"Ray", LogProcess:"Robertson", LogAction:"actie"}} & my theLogData

end if

end LogIet_


** When I call the handler "hLogToLog_p1_p2_(myProp, myProp2, myProp3)" from another Applescript object,

I can pass all the parameters, but nothing happens to de table view content of theLogData


on hLogToLog_p1_p2_(myProp, myProp2, myProp3)

set my theLogData to {{LogDate:myProp, LogProcess:myProp2, LogAction:myProp3}}

end hLogToLog_p1_p2_

end

What am I doing wrong ? 

Kind Regards,
Droom

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: updating tableview
      • From: Shane Stanley <email@hidden>
  • Next by Date: Re: updating tableview
  • Next by thread: Re: updating tableview
  • Index(es):
    • Date
    • Thread