Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Form Script: Generate a clic event on text ? (http://www.outlookbanter.com/outlook-using-forms/65944-form-script-generate-clic-event.html)

bbnimda January 28th 08 10:14 AM

Form Script: Generate a clic event on text ?
 
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

--
Knowlege grows when shared.

http://bensoft.miniville.fr/tra



Sue Mosher [MVP-Outlook] January 28th 08 01:18 PM

Form Script: Generate a clic event on text ?
 
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.

--
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 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

--
Knowlege grows when shared.

http://bensoft.miniville.fr/tra



bbnimda January 29th 08 08:37 AM

Form Script: Generate a clic event on text ?
 
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.

--
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 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

--
Knowlege grows when shared.

http://bensoft.miniville.fr/tra





Sue Mosher [MVP-Outlook] January 29th 08 02:02 PM

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



bbnimda February 1st 08 01:05 PM

[SOLVED] Form Script: Generate a clic event on text ?
 
Hi Sue,

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

Tks a lot


"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news: ...
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





All times are GMT +1. The time now is 11:21 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com