Jan 13, 2011 Replies: 13 Many users who start to develop Android applications may be frustrated by the fact that they don't find the control they are looking for. Its even worse, for some mysterious reason there are no "Controls" at all. Instead there are "Views". This page shows screenshots of all the available views and dialogs: Views Button: Checkbox: EditText (TextBox): Can also be multiline. ImageView: Label: ListView (ListBox): Panel: Can hold other views (and load layout files). ProgressBar: RadioButton: ScrollView: SeekBar (TrackBar): Spinner (ComboBox): TabHost (TabControl): ToggleButton: WebView: Dialogs Basic4android dialogs are blocking modal dialogs. Which means that the code execution stops while the dialog is shown. Some of the dialogs are shown by calling a keyword (like Msgbox). Other dialogs are included in Andrew's excellent dialogs library. Internal dialogs InputList: InputMultiList: Msgbox (or Msgbox2): Dialogs library ColorDialog: ColorPickerDialog: DateDialog: InputDialog: NumberDialog: TimeDialog: FileDialog: Click to expand...
Many users who start to develop Android applications may be frustrated by the fact that they don't find the control they are looking for. Its even worse, for some mysterious reason there are no "Controls" at all. Instead there are "Views". This page shows screenshots of all the available views and dialogs: Views Button: Checkbox: EditText (TextBox): Can also be multiline. ImageView: Label: ListView (ListBox): Panel: Can hold other views (and load layout files). ProgressBar: RadioButton: ScrollView: SeekBar (TrackBar): Spinner (ComboBox): TabHost (TabControl): ToggleButton: WebView: Dialogs Basic4android dialogs are blocking modal dialogs. Which means that the code execution stops while the dialog is shown. Some of the dialogs are shown by calling a keyword (like Msgbox). Other dialogs are included in Andrew's excellent dialogs library. Internal dialogs InputList: InputMultiList: Msgbox (or Msgbox2): Dialogs library ColorDialog: ColorPickerDialog: DateDialog: InputDialog: NumberDialog: TimeDialog: FileDialog:
walterf25 Expert Licensed User Longtime User Sep 30, 2011 #2 Where to download dialogs library Where can i download this libraries from, i can't seem to find a link or a place to download them from!
Where to download dialogs library Where can i download this libraries from, i can't seem to find a link or a place to download them from!
klaus Expert Licensed User Longtime User Sep 30, 2011 #3 You have the listing of the libraries here. You find the Dialogs library here. Best regards.
B bodycode Member Licensed User Longtime User Dec 2, 2011 #4 Numberdialog doesn't seem to output decimal point in output. The "get number" button on your numberdialog box doesn't seem to output a decimal point, it's not visible at all, not even a space between any numbers. Only an integer appears to be outputtting. Any way to fix this? I also notice a + and minus at the beginning of the numeric input GUI but doesn't seem to have any effect. What's that for? There's also a colon output? And a minus sign at the beginning of the number? What's that about? I simply want to use a decimal number in some calculations with some variables being assigned the values (I know how to do that in a simple way). Thanks in advance. A bit confused, I'm probably using this wrong? Thanks in advance. Regards, bodycode
Numberdialog doesn't seem to output decimal point in output. The "get number" button on your numberdialog box doesn't seem to output a decimal point, it's not visible at all, not even a space between any numbers. Only an integer appears to be outputtting. Any way to fix this? I also notice a + and minus at the beginning of the numeric input GUI but doesn't seem to have any effect. What's that for? There's also a colon output? And a minus sign at the beginning of the number? What's that about? I simply want to use a decimal number in some calculations with some variables being assigned the values (I know how to do that in a simple way). Thanks in advance. A bit confused, I'm probably using this wrong? Thanks in advance. Regards, bodycode
Erel B4X founder Staff member Licensed User Longtime User Dec 4, 2011 #5 Please start a new thread for this question.
JonPM Well-Known Member Licensed User Longtime User Feb 22, 2012 #6 In Msgbox2 is there a way to place the cancel button on the right side? Seems weird to have it in the middle, I prefer Yes, No, Cancel (just like in all the other dialogs). I'd like to keep the code clean by keeping Dialog.Response = Cancel with the actual Cancel button (instead of swapping it with the Negative).
In Msgbox2 is there a way to place the cancel button on the right side? Seems weird to have it in the middle, I prefer Yes, No, Cancel (just like in all the other dialogs). I'd like to keep the code clean by keeping Dialog.Response = Cancel with the actual Cancel button (instead of swapping it with the Negative).
Erel B4X founder Staff member Licensed User Longtime User Feb 23, 2012 #7 This is the default Android order. As you wrote you can put any string you like and interpret the value accordingly.
This is the default Android order. As you wrote you can put any string you like and interpret the value accordingly.
Erel B4X founder Staff member Licensed User Longtime User Apr 25, 2012 #8 Please start a new thread for this question.
RandomCoder Well-Known Member Licensed User Longtime User May 2, 2015 #9 How is it that I've only just found this thread. What a great resource for beginners and old-timers like me Thanks @Erel.
How is it that I've only just found this thread. What a great resource for beginners and old-timers like me Thanks @Erel.
S sorex Expert Licensed User Longtime User Sep 10, 2015 #10 I seem to mis something. inputlist is marked as "internal" which means it's part of a core lib? it's not recognizing it as a valid keyword with all core libs selected and the dialog lib added to the additional libs folder?
I seem to mis something. inputlist is marked as "internal" which means it's part of a core lib? it's not recognizing it as a valid keyword with all core libs selected and the dialog lib added to the additional libs folder?
barx Well-Known Member Licensed User Longtime User Sep 11, 2015 #11 sorex said: I seem to mis something. inputlist is marked as "internal" which means it's part of a core lib? it's not recognizing it as a valid keyword with all core libs selected and the dialog lib added to the additional libs folder? Click to expand... Seems to work ok here sorex and I have successfully used it in the past. You don't declare an inputlist like a view, you call it like a magbox. Maybe that is where you are going wrong? Code: response = InputList(ItemsList, "Select an Item", -1)
sorex said: I seem to mis something. inputlist is marked as "internal" which means it's part of a core lib? it's not recognizing it as a valid keyword with all core libs selected and the dialog lib added to the additional libs folder? Click to expand... Seems to work ok here sorex and I have successfully used it in the past. You don't declare an inputlist like a view, you call it like a magbox. Maybe that is where you are going wrong? Code: response = InputList(ItemsList, "Select an Item", -1)
S sorex Expert Licensed User Longtime User Sep 11, 2015 #12 Ooooooooh! that works indeed. I checked the beginners & advanced(?) guide but it wasn't mentioned there either (or I missed it) so I didn't know how to access/use it. thanks, Barx.
Ooooooooh! that works indeed. I checked the beginners & advanced(?) guide but it wasn't mentioned there either (or I missed it) so I didn't know how to access/use it. thanks, Barx.
barx Well-Known Member Licensed User Longtime User Sep 11, 2015 #13 sorex said: Ooooooooh! that works indeed. I checked the beginners & advanced(?) guide but it wasn't mentioned there either (or I missed it) so I didn't know how to access/use it. thanks, Barx. Click to expand... You have to be 733t to use the input list
sorex said: Ooooooooh! that works indeed. I checked the beginners & advanced(?) guide but it wasn't mentioned there either (or I missed it) so I didn't know how to access/use it. thanks, Barx. Click to expand... You have to be 733t to use the input list