Pick contact dialog box

  • Thread starter Thread starter Thomas Ranstorp
  • Start date Start date
T

Thomas Ranstorp

Hi,
I have written some VBScript in a customized form. I want
this code to do exactly what the "Contacts..." button
does, selecting a contact and add it to the "Links", But
I want to run some other code before and after the
executions.

I can execute code after through
the "Item_PropertyChange" but not before.

It there a way to execute the contact selection dialog
box from the VBscript code.

Please help!

Regards,
/Thomas
 
Yes, there is with this code (myButton2 is bound to the
contact-item dialog box).

sub myButton1_click()
'code before dialog box
Item.GetInspector.ModifiedFormPages
("myPage").myButton2.value = true
'code after dialog box
end sub

regards,
/Thomas
 
What is the value of the line of code:

Item.GetInspector.ModifiedFormPages("myPage").myButton2.value = true

?

I don't understand what this line does. My code works without this line.
Just curious.

Anita
 
Back
Top