Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

Tooltips - Bubble Help (Re-post) (O4W)

At 08 JUN 2012 09:14:32PM Richard Bright wrote:

(Sorry: This was originally posted - incorectly in OI32 area - but is an O4W topic)

I am trying to add a tooltip / bublbe help to a control. That is I want some help information to appear when the cursor hovers above the specified control. If I inspect the code in firebug etc looks ok - turns the script into a css title style - but no cigar. Where do I look next?

O4WSetCell(1,4)

O4WSPACE(2)

O4WText(' MyControl:',"LBL_MY_CONTROL", ) O4WSetCell(1,5) O4WTextbox(,,,'MY_CONTROL',,O4WHelpStyle(, 'Enter in some data here'))

regards

Richard Bright


At 08 JUN 2012 11:57PM bshumsky wrote:

(Sorry: This was originally posted - incorectly in OI32 area - but is an O4W topic)

I am trying to add a tooltip / bublbe help to a control. That is I want some help information to appear when the cursor hovers above the specified control. If I inspect the code in firebug etc looks ok - turns the script into a css title style - but no cigar. Where do I look next?

O4WSetCell(1,4)

O4WSPACE(2)

O4WText(' MyControl:',"LBL_MY_CONTROL", ) O4WSetCell(1,5) O4WTextbox(,,,'MY_CONTROL',,O4WHelpStyle(, 'Enter in some data here'))

regards

Richard Bright

Hi, Richard. Yes, there appears to be a bug in the O4WHelpStyle API - it's generating a "style" instead of the proper HTML5 output. This should be fixed for the 9.3.2 release, but in the interim I think you can manually code around it by using the O4WDataStyle API. Instead of:

O4WHelpStyle("", "Enter in some data here")

Please use the following:

O4WDataStyle("", "title", "Enter in some data here")

And see if that works for you?

Thanks!

- Bryan Shumsky

Revelation Software, Inc.


At 09 JUN 2012 12:21AM Richard Bright wrote:

Excellent. Bravo - works great.

I was starting to worry - that gives me confidence and client will think I'm onto something smart.

Bad luck if you have struck wet Oz weather - we at least have snow - knee deep.

Cheers

Richard

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/328fc6a4000481f859825c300.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1