Questions tagged [sender]

sender is the conventional name of an input parameter to an event handler in some object-oriented languages and their frameworks, for example Objective-C and Cocoa, or C# and .NET.

See:

Event Handling in Cocoa

Events (C# Programming Guide)

328 questions
0
votes
2 answers

php message sender with delay

This code extract user ids from my database and send them a message. The issue is that is trying to send the message to all users at the same time and my db goes down. I get error if I send it on to many users. Can someone help me to make it send…
Bengau
  • 175
  • 5
  • 14
0
votes
1 answer

sub event to interact with more than one control

I want to call this snippet passing a "controlname" like a argument, then the sub interacts with the desired control How I can do that? This is the snippet: #Region " Move a control in real-time " ' Change Textbox1 to the desired control name …
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
0
votes
1 answer

How to get object from sender parameter in C# in Windows-Phone-7

I want to get source of my image control by clicking the image in my wp7 application I try this one but not get solution. Image img = new Image(); img.Source = new BitmapImage(uri); img.Height = 105; img.Width = 167; img.Margin = new…
user1778761
0
votes
1 answer

Xcode: Get name from UIButton name

I would like get the integer from the name of a UIButton. The UIButton's name is "Button11", and I would like my integer therefore like to be 11. Can anybody please tell me how to do that? I "already" have the following…
tmighty
  • 10,734
  • 21
  • 104
  • 218
0
votes
1 answer

How can I refer to different objects by the [sender tag]?

I want to show different set of strings with different calculation depends on the sender's response..2 sets of strings are parallel, which means the naming is like.. user1, user2, object1, object2, name1, name2, age1, age2, etc..what I know so far…
Walter
  • 21
  • 5
0
votes
2 answers

Adding buttons on tableview - can't access the sender

I have used the following code to add buttons to my tableviewcell , when the button is pressed i need to know which row was it. so i have tagged the buttons (playButton viewWithTag:indexPath.row) The problem is that is if I define the target action…
Papito
  • 5
  • 2
  • 4
0
votes
1 answer

objective-c - re set sender tag after deleting

Is there a way to re set a sender tag like NSMutableArray does when you deleting an item ? My tag looks like : 1, 2, 3, 4... 20. When I'm deleting a view I want to retrieve the right order and not 1, 2, 4, 5... if I'm deleting the view number…
0
votes
2 answers

java how to do a sender thread

I was told that any data going out over an output stream (i'm using tcp/ip in my case) could block. In that case, I would not want to halt the application by having to wait for data to go out. I need a model of how to do this. I need to send…
jbu
  • 15,831
  • 29
  • 82
  • 105
0
votes
1 answer

C++ - Mail Sender

I would like to create a mail sender on C++ (not Mail Client for eg. GMail). In this mailer I want to be able to change the headers also. I have already downloaded and installed the POCO libraries, that might help (I found it on a similar…
ant0nisk
  • 581
  • 1
  • 4
  • 17
-1
votes
1 answer

PHP mailing - sender address

I have script form on my website that looks like this: `
-1
votes
2 answers

Senders image for UIControlStateNormal

tl;dr: I'm creating a UIImageView that has the same image as the sender. Im trying to figure out how to go about doing this. Im trying to get the senders image. Here is my code to get the sender: UIButton *playSelectionTag = (UIButton *)sender; …
Jacob
  • 1,459
  • 2
  • 19
  • 32
-1
votes
1 answer

How to get the Subroutine Sender name

When I click the Button1 the MsgBox shows me "1" which is good. Private Sub Button1_Click(sender As Object, e As RoutedEventArgs) Handles Button1.Click MsgBox(CType(sender, Button).Name.Replace("Button", "")) End Sub I want the MsgBox shows me…
Markowitz
  • 33
  • 5
-1
votes
3 answers

Entering text into textfield causing uipangesture object to move back to its orginal position

My swift code below has a image view connected to a pangesture. When something is entered into a textfield when after the image view is moved. The image view reverts back to its original position.The gif represents that what is going on. I just…
user12655184
-1
votes
1 answer

TIBCO BW JMS Queue Sender

I am using JMS Queue Sender pallete to send message through MQ queue to an application which uses MQ interface to read the message and it expects ApplIdentityData and format = 'MQSTR' as part of the MQ header. Not sure how I can implement it in…
Rahul
  • 9
  • 6
-1
votes
1 answer

.NET Webhook sender

I'm new to webhooks and I'm trying to figure out how to implement a webhook sender in .Net. There are very little documentation and example on the sender (a lot on the receiver). Here's the scenario: Let's say there's a receiver that provides me…
Sergio
  • 250
  • 1
  • 4
  • 18
1 2 3
21
22