NetTalk Central

Author Topic: Help with sliders please  (Read 2002 times)

Vinnie

  • Full Member
  • ***
  • Posts: 175
    • View Profile
    • Email
Help with sliders please
« on: June 11, 2014, 02:29:48 AM »
Hi all

Using a number of sliders on a memory form.

Sliders are working great but I have a problem with refresh.

I am using a drop down  field to select a product size which should then refresh the sliders.

It appears that the slider's setting ie the position if the slider from lowest to highest setting is being set from the first slider and not from each slider.

If I then mouse click on the slider it will jump to the correct position on the slide.

Using NT8.16 and Clarion 9

Any information will be great.

Cheers

Vince

JohanR

  • Sr. Member
  • ****
  • Posts: 339
    • View Profile
    • Email
Re: Help with sliders please
« Reply #1 on: June 11, 2014, 07:09:13 AM »


Hi Vinnie

Long shot, but make sure you're updating the session variable of the slider.

eg.
loc:slider1 = 5
p_web.SSV('loc:slider1',loc:slider1)


Johan



Vinnie

  • Full Member
  • ***
  • Posts: 175
    • View Profile
    • Email
Re: Help with sliders please
« Reply #2 on: June 11, 2014, 08:13:20 AM »
Thanks for your reply Johan.

I am sure I have set the session value correct because to correct value is in the display field but the slider is not in the correct position on the scale.

I have post the test app at http://80.176.144.138:89

Select Suit type from drop down eg 'W1'
Select Build from drop down eg Large

The first slider is in the correct position but the sliders are not no scale. Mouse click on the slider then the slider jumps to the correct position.

Cheers

Vince

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: Help with sliders please
« Reply #3 on: June 11, 2014, 10:59:29 PM »
your best bet is to create a small sample app of the effect your are going for (not necessarily your actual app) and then post that here and we can go from there.

Vinnie

  • Full Member
  • ***
  • Posts: 175
    • View Profile
    • Email
Re: Help with sliders please
« Reply #4 on: June 12, 2014, 10:01:40 AM »
Thanks for your offer Bruce. I assume you have a lot more important work to do at this time.

I have reverted back to NT7 for this app and it is working great.

I will try and work the problem for a while but if not I will come back to you.

Cheers

Vince