Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Slider Control Default Value

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Slider Control Default Value
 Login/Join
 
Master
posted
I'm tyring to set the default value of the slider control to 100 where the range is 0 to 100. The reason is I actuall have 2 slider controls and I want the users to be able to specify a range of valus where the default for the minimum value is 0 and the maximum value is 100. so I need to set the max to 100 when the page first loads up.




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
I'm thinking that it's a bug... The default, in one which I just created is 100, for the 2nd slider. But, they they both start at 0. They do both slide from 0 to 100.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Master
posted Hide Post
How did you set the default? If you used a -DEFAULT in procedure I do not believe it reads that.




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
I did the basic
-DEFAULT &Slider1 = 0
-DEFAULT &Slider2 = 100
-TYPE *** Sliding from &Slider1 TO &Slider2 ***
But, the htm page still started both sliders at 0 with max limits of 100.
Like this:
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Master
posted Hide Post
Thats what I did. with 0 and 100. I would think that it would be a control on thr HTML Page itself. If anyone know how to do it with javascript I'm ok with that as well.

This message has been edited. Last edited by: TexasStingray,




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
quote:
how to do it with javascript

Now, there's a thought...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Master
posted Hide Post
Got it with JavaScript in WF 8.0.0.2M

function onInitialUpdate() {
IbComposer_setCurrentSelection('slider3', 100, false);
}

This message has been edited. Last edited by: TexasStingray,




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Expert
posted Hide Post
I like it...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Slider Control Default Value

Copyright © 1996-2020 Information Builders