Android Question Where's SeekBar.Value and SeekBar.Max?

Jim McDougal

Member
Licensed User
I am running B4A ver. 10.5. The Members pulldown menu in the IDE lists all the expected members but doesn't include Value or Max. I'm trying to initialize the SeekBar.
 

mangojack

Expert
Licensed User
Longtime User
Are you adding The Seekbar to a Layout in the Designer ... There is no need to Initialize the Seekbar ... ( or other Views if added with the Designer)

All the relevant Methods / Properties appear fine here ...

1615957978102.png


and likewise for .Value property
 
Upvote 0

Jim McDougal

Member
Licensed User
I am adding SeekBar to the Layout in the Designer (and not initializing in code). My members list is as shown:

1615998162668.png


No .Max and no .Value. Any ideas why it would look different than yours?

Thanks!
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
I am not sure if Seekbar has an XUI overlay for B4XViews.
The image of mangojack is based on Seekbar.
Your image is based on B4XView.

You might have a look at B4XSeekBar from the XUI Views b4xlib.

1615999930522.png

You will find of course also the MaxValue property.
 
Last edited:
Upvote 0

Jim McDougal

Member
Licensed User
Voila. That's exactly what it is. I created two SeekBars in Designer, one as SeekBar and one as B4XView. The SeekBar instance showed .Value and .Max as members.

I will investigate B4XSeekBar in the XUI Views b4xlib. Thank you , Gents.
 
Upvote 0
Top