A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Form Script: Generate a clic event on text ?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 28th 08, 10:14 AM posted to microsoft.public.outlook.program_forms
bbnimda
external usenet poster
 
Posts: 94
Default 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


Ads
  #2  
Old January 28th 08, 01:18 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 ?

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


  #3  
Old January 29th 08, 08:37 AM posted to microsoft.public.outlook.program_forms
bbnimda
external usenet poster
 
Posts: 94
Default 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




  #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


  #5  
Old February 1st 08, 01:05 PM posted to microsoft.public.outlook.program_forms
bbnimda
external usenet poster
 
Posts: 94
Default [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



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent text cursor from getting out of a text box on an Outlook 2003 form? Carlos Outlook and VBA 1 July 12th 07 05:32 PM
Generate appointment from within message form Marzipan Outlook - Calandaring 1 June 20th 07 09:58 PM
Item_Send: How to generate a non-custom form message from custom f supportusa Outlook - Using Forms 3 April 9th 07 10:37 PM
Making a web link that will generate an Outlook event Steve Dorsey Outlook - General Queries 1 March 16th 06 07:49 PM
script event does not fire urs Outlook - General Queries 2 March 1st 06 04:55 PM


All times are GMT +1. The time now is 11:45 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-2025 Outlook Banter.
The comments are property of their posters.