The infopath 2007 controls properties can set at dynamically

S

Suri

Can we set the control properties of screen tip in advanced tab
dynamically in Infopath 2007 through form code using C#.

Thanks in Advance.
Suri.
 
R

Rajitha

Hi,
As of my knowledge you can’t write screen tip in code.
But, you can write validation screen tips in Validating event.
e.ReportError(e.Site, true, "ScreenTip Message");
Hope this helps.
 
S

Swathi (GGK Tech)

Hi,
The work around for this is place the number of same controls with different
screen tips. According to your requirement show/hide the controls. It is very
heavy process if you have more than 5 screen tips per a field.
 
S

Suri

Hi,
The work around for this is place the number of same controls with different
screen tips. According to your requirement show/hide the controls. It is very
heavy process if you have more than 5 screen tips per a field.

--
Swathi Porandlahttp://www.ggktech.com






- Show quoted text -

Hi,

Thanks for your responce.......
I am describing the real requirement.....

For example : there is text box, I am dynamically binding current
user name to that control. The control is read only. when mouse over
on the control i need to display the User Display Name which i will
get from Active Directory. Now I want to get the User Display Name to
the Screen tip Property of the Text box control.

Thanks in Advance.
Suri
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top