Hi!
First off I'm not sure if it's called method.
I'm used to Visual Basic programming (wasn't my decision, had to do it).
Let's say I have something like this:
Where listfill would be this:
That would work in Visual Basic.
So what's the problem?
I have absolutely no clue how to do something like that in Cocoa.
Used Google with no luck (maybe it's not called method?)
I have a timer to reload some data.
Every 30 seconds I'd like to do something (100 lines).
But I would also like the user to do the refresh manually with a button.
Sure, I could (didn't try this) link the button to the method the timer fires.
The problem: I need the manual refresh to trigger the same code as the timer refresh but also some additional code.
How can I do this in Cocoa
Thanks!
First off I'm not sure if it's called method.
I'm used to Visual Basic programming (wasn't my decision, had to do it).
Let's say I have something like this:
Code:
Private Sub cmbinfo_Click(Index as Integer)
listfill
//do some additional crap
End Sub
Code:
Private Sub listfill()
//do large amount of crap
End Sub
That would work in Visual Basic.
So what's the problem?
I have absolutely no clue how to do something like that in Cocoa.
Used Google with no luck (maybe it's not called method?)
I have a timer to reload some data.
Every 30 seconds I'd like to do something (100 lines).
But I would also like the user to do the refresh manually with a button.
Sure, I could (didn't try this) link the button to the method the timer fires.
The problem: I need the manual refresh to trigger the same code as the timer refresh but also some additional code.
How can I do this in Cocoa
Thanks!