Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set help text

hi,

i need to set the help text of a text object using macro .

thanks in advance:)

Labels (1)
4 Replies
Frank_Hartmann
Master II
Master II

why not using a variable in the help text?

Then you can set the content of the variable per macro!

like this:

Function setVariable

set v=ActiveDocument.Variables("nameofyourQVVariable")

       v.Forcecontent "1",1

END function     

hope this helps

Not applicable
Author

but i am creating the text object using macro and i want that text object to have help text

beck_bakytbek
Master
Master

Hi Nishit,

@Frank Hartmann has right.

the best Option is, to use a variable, with variable yor are best prepared to Change of text content.

beck

Frank_Hartmann
Master II
Master II

here is a macro, which sets the helptext of a textbox:

Sub setHelptext

set g = ActiveDocument.GetSheetObject("TX01")

set gp = g.GetProperties

gp.Layout.Frame.HelpText.v = "FillInYourHelptextHere"

g.SetProperties gp

end Sub

hope this helps!