Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Creation of Slider object via VB Script / Macro

Dear All,

i have a requirement to create slider control by using VB Script and along with that needs to set few of properties also by vb macro.

Also want to know how to set transparency of control etc by VB Macro.

Thanks & Regards,

Jitendra Kumar

4 Replies
tamilarasu
Champion
Champion

Hi,

Check the below code.

Sub Slider

set vSlider = ActiveDocument.Sheets("Main").CreateSlider

set vProperties = vSlider.GetProperties

vProperties.Name1.Name = "Fish"  'Field Name

vSlider.SetProperties vProperties

set vProperties = nothing

set vSlider = nothing

End Sub

Not applicable
Author

Hi Nagaraj,

Can you help me from where i can all this library information. i am asking because we have to all the necessary properties of any object what ever are present in Qlikview by using macro only, whether it is color, layer, position text, conditional view etc etc...

like if we see Java or .NET they have editor which help you in this. we just type object name following with dot (.) we get all list of properties and method. same type of concept here if available

Thanks

Jitendra Kumar

tamilarasu
Champion
Champion

Jitendra,

      I just copied few lines from API guide. But we could not find detailed information for all the properties. I tried to find the syntax to control transparency but no success. I even googled it but no related results shown. I too find difficulties while controlling objects. Maybe someone might have answer for this.

Not applicable
Author

Agree.

even i am looking for same long back.. thats why i raise this here...

Thanks

Jitendra Kumar