D Declan Well-Known Member Licensed User Longtime User Nov 11, 2015 #1 I have a Spinner view that I populate from a database. Code: 'Fill the tools id spinner (aka combo box). DBUtils.ExecuteSpinner(SQL, "SELECT Id FROM Tools", Null, 0, spnrViewTools) This works cool. However, is it possible for the Spinner view to "Dropdown" via code once populated? I don't want the user to have to "click" on the Spinner to view the populated data.
I have a Spinner view that I populate from a database. Code: 'Fill the tools id spinner (aka combo box). DBUtils.ExecuteSpinner(SQL, "SELECT Id FROM Tools", Null, 0, spnrViewTools) This works cool. However, is it possible for the Spinner view to "Dropdown" via code once populated? I don't want the user to have to "click" on the Spinner to view the populated data.
klaus Expert Licensed User Longtime User Nov 11, 2015 #2 That's how Spinner work. If you want to show the list you should use a ListView instead of a Spinner. Upvote 0
That's how Spinner work. If you want to show the list you should use a ListView instead of a Spinner.
D Declan Well-Known Member Licensed User Longtime User Nov 11, 2015 #3 OK I have the Spinner in a Panel and when it loads it just shows the "Blank" Spinner. Is it possible to either: Have some text shown in the Spinner to prompt he user to click? OR Have the first "Id" field visible in the Spinner? Upvote 0
OK I have the Spinner in a Panel and when it loads it just shows the "Blank" Spinner. Is it possible to either: Have some text shown in the Spinner to prompt he user to click? OR Have the first "Id" field visible in the Spinner?
DonManfred Expert Licensed User Longtime User Nov 11, 2015 #4 Declan said: Have the first "Id" field visible in the Spinner? Click to expand... Have you looked at the documentation of the spinner object? Code: Spinner1.AddAll(Array As String("Sunday", "Monday", ...)) Spinner1.SelectedIndex = 0 Upvote 0
Declan said: Have the first "Id" field visible in the Spinner? Click to expand... Have you looked at the documentation of the spinner object? Code: Spinner1.AddAll(Array As String("Sunday", "Monday", ...)) Spinner1.SelectedIndex = 0
pjo12345 Active Member Licensed User Longtime User Nov 11, 2015 #5 However, is it possible for the Spinner view to "Dropdown" via code once populated? I don't want the user to have to "click" on the Spinner to view the populated data. Click to expand... I use this: Code: Sub OpenSpinner(s as Spinner) Dim r As Reflector r.Target = s r.RunMethod("performClick") End Sub Upvote 0
However, is it possible for the Spinner view to "Dropdown" via code once populated? I don't want the user to have to "click" on the Spinner to view the populated data. Click to expand... I use this: Code: Sub OpenSpinner(s as Spinner) Dim r As Reflector r.Target = s r.RunMethod("performClick") End Sub
D Declan Well-Known Member Licensed User Longtime User Nov 12, 2015 #6 Thanks all, sorted. Used above code Upvote 0