I tried that code (written by craigsboyd) and it works fine.
Now I wanted to have this code as an additional feature in a form which I created myself.
But I have problems to integrate that, when I implement a click-button on my form which has the code written by craigsboyd in its click-event.
VPF then says :
"Methods and events cannot contain nested procedures or class defintions"
I am sorry that I am not experienced with classes - but perhaps anyone here could help with a solution to add this useful code by craigsboyd to a form which already exists.
Thanks in advance.
Keep healthy...
Klaus
See faq184-3842
Peace worldwide - it starts here...
Now I wanted to have this code as an additional feature in a form which I created myself.
But I have problems to integrate that, when I implement a click-button on my form which has the code written by craigsboyd in its click-event.
VPF then says :
"Methods and events cannot contain nested procedures or class defintions"
I am sorry that I am not experienced with classes - but perhaps anyone here could help with a solution to add this useful code by craigsboyd to a form which already exists.
Thanks in advance.
Keep healthy...
Klaus
See faq184-3842
Peace worldwide - it starts here...