Form Script: Generate a clic event on text ?

  • Thread starter Thread starter bbnimda
  • Start date Start date
B

bbnimda

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

Thks
 
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.
 
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]" <[email protected]> a écrit dans le message
de news: (e-mail address removed)...
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.
 
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 said:
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]" <[email protected]> a écrit dans le message
de news: (e-mail address removed)...
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 said:
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
 
Hi Sue,

Yes you were rigth, I probably did something wrong the first time,

Tks a lot


"Sue Mosher [MVP-Outlook]" <[email protected]> a écrit dans le message
de %[email protected]...
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 said:
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]" <[email protected]> a écrit dans le
message
de news: (e-mail address removed)...
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 said:
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
 
Back
Top