Giusy Active Member Licensed User Apr 1, 2019 #1 Hi, There is in B4a a control that performs an increment or a decrease of a value, or must be created (see attached file) Thanks Attachments PROVA1.png 1 KB · Views: 485
Hi, There is in B4a a control that performs an increment or a decrease of a value, or must be created (see attached file) Thanks
E emexes Expert Licensed User Longtime User Apr 1, 2019 #2 Do you actually need the number? If you're using it to set speech parameters, those slidey SeekBar things are probably simpler: Upvote 0
Do you actually need the number? If you're using it to set speech parameters, those slidey SeekBar things are probably simpler:
Giusy Active Member Licensed User Apr 1, 2019 #3 emexes said: Do you actually need the number? If you're using it to set speech parameters, those slidey SeekBar things are probably simpler: View attachment 78942 Click to expand... Yes, I know him, but I hate him. I'll do it with my hands Thanks Upvote 0
emexes said: Do you actually need the number? If you're using it to set speech parameters, those slidey SeekBar things are probably simpler: View attachment 78942 Click to expand... Yes, I know him, but I hate him. I'll do it with my hands Thanks
E emexes Expert Licensed User Longtime User Apr 1, 2019 #4 Giusy said: Yes, I know him, but I hate him. Click to expand... Fair enough. Depends on the use-case, I agree. Depending on how many options you've got: how about a Spinner? Code: Copy Dim Spinner1 As Spinner For I = 1 to 25 Spinner1.Add(I) Next Spinner1.SelectedIndex = 12 'default to middle 'or perhaps like I have in the TTS test program 'LanguageSpinner.AddAll(Array As String("en", "fr", "de", "it", "ru")) I have some electronic-equipment lookalike knobs and gauges and spirit-level things that I keep meaning to convert to a library or custom views, but... is always left for tomorrow :-/ Upvote 0
Giusy said: Yes, I know him, but I hate him. Click to expand... Fair enough. Depends on the use-case, I agree. Depending on how many options you've got: how about a Spinner? Code: Copy Dim Spinner1 As Spinner For I = 1 to 25 Spinner1.Add(I) Next Spinner1.SelectedIndex = 12 'default to middle 'or perhaps like I have in the TTS test program 'LanguageSpinner.AddAll(Array As String("en", "fr", "de", "it", "ru")) I have some electronic-equipment lookalike knobs and gauges and spirit-level things that I keep meaning to convert to a library or custom views, but... is always left for tomorrow :-/
mangojack Expert Licensed User Longtime User Apr 1, 2019 #5 Another option .. https://www.b4x.com/android/forum/threads/wheelpicker.69091/page-2 Upvote 0
josejad Expert Licensed User Longtime User Apr 1, 2019 #6 Another one: https://www.b4x.com/android/forum/threads/b4x-xui-roundslider.95465/ Upvote 0
asales Expert Licensed User Longtime User Apr 1, 2019 #7 Check this too: https://www.b4x.com/android/forum/threads/b4a-fluidslider-no-wrap.91719/ Upvote 0