View Single Post
  #4  
Old January 29th 08, 02:02 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Form Script: Generate a clic event on text ?

No properties are involved. If the label is not bound to an Outlook field, it will automatically generate a Click event. See http://www.outlookcode.com/d/tips/formhyperlink.htm for a code example.

The most important issue, however, is the one I stated: Only forms published with the "send form
definition with item" box unchecked will run code at all. See http://outlookcode.com/article.aspx?id=67
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"bbnimda" wrote in message ...
Hi Sue,

Unfortunately It doesn't work, I tryed many ways without success, perhaps I
didn't understand every thing (my english is too poor ( )

1) Witch properties of the label do I have to select (in right click =
properties)
2) What parameters of the label do I have to modify t (in right click =
Advanced properties)

Nb: In my form I dont need to attach the label to any value (I use it only
to increment an index), am I right to use it in this way

Thks in advance.




"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news: ...
Text boxes don't fire a click event on custom forms, even if they're
unbound. A label that is not bound to an Outlook property would fire a Click
event, though. Of course, only forms published with the "send form
definition with item" box unchecked will run code at all.

"bbnimda" wrote in message
...
Hi all,

I use a modified form script and try to generate a click event on label
or
textbox I search for a long time but didn't found, is that possible
or
I loosing my time


Ads