Delegates

Y

Yaron

Hi,

This is a follow-up to a question of mine yesterday...

Let me tell you exactly what I want to do... I have a
function which creates a textbox to edit fields in a
ListView (Details view). This function takes parameters
on the ListView to use, the item index, the column index,
and how many more fields after the current column to go
to. So, if we're beginning with field 4 of item 1 in a
ListView called lstTest, and there are 3 more fields
after 4 to edit (5, 6, 7), it would look like this:

createEditField(lstTest, 1, 4, 3)

Now, the thing is, I want to add a final parameter to
this function that is actually a pointer to another
function to call once the last column has been reached
(in this case, 7), and finished with. So, can you give me
an example of how this would look?

Thanks!

Yaron
 
R

Rob Teixeira [MVP]

Look up the "AddressOf" operator in the help files.

-Rob Teixeira [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top