B4A Library Dialogs library

Status
Not open for further replies.

Amalkotey

Active Member
Licensed User
Longtime User
ProgressDialog already exists in the Core Basic4android keywords.

thank you, that I have read about. Please excuse the excess release
 

vangogh

Active Member
Licensed User
Longtime User
numeric keypad?

I have dialog lib v2.2 so sorry if I miss the new feature

I miss a "numeric keypad", like the one used to compose a telephone number...
numbers 0-9, dot, delete, cancel and OK...
the numeric view I know (I have in my 2.2 lib) uses the "+" and "-" to compose a number...

Am I missing something, or a "numeric pad" is not already present?

thank you
 

agraham

Expert
Licensed User
Longtime User
In version 2.5 now posted FileDialog has grown a ScrollingBackgroundColor property like a ListView.

Also included is a third colour dialog I was playing with that lets you specify a colour by its Hue, Saturation and Value which might sometimes make selecting the right colour easier. I hadn't really intended to publish this but as it was in the library source I let it go through rather than deliberately removing it.
 

agraham

Expert
Licensed User
Longtime User
If you do not set the FileFilter property before you invoke .Show, the dialog crashes the app.
Oops! It's a bug introduced in version 2.4 when I allowed multiple filters to be defined in a comma separated string. For now just initialise FileFilter with an empty string if you don't want filtering.
Is it possible to add an icon for the Folders
I'm not really a UI person so to save thinking about it I used SingleLineLayout from the Basic4android ListView for the file and folder entries so the answer is no for now.
 

thedesolatesoul

Expert
Licensed User
Longtime User
Not a problem.
 

thedesolatesoul

Expert
Licensed User
Longtime User
Can the Filedialog act as a FolderDialog i.e. just to select a folder rather than a file?
I need the user to select a location, but not a file.

EDIT: Okay, I got around this by using a custom dialog and it was very easy
but i have a question...when the dialog opens up, the user doesnt really know which directory he is starting from, should we add the current path to the title or something like that?
 
Last edited:

agraham

Expert
Licensed User
Longtime User
Version 2.6 now posted fixes the bug in introduced 2.5 that crashed FileDialog if a FileFilter was not explicitly specified.

FileDialog now has a ShowOnlyFolders property that if set True will only display the existing folder names and will allow the user to enter a new name for a new folder if required.
 

Inman

Well-Known Member
Licensed User
Longtime User
I have a listview added to a panel inside the customdialog2. I tried to get the Listview_ItemClick to find out the user selected item but it didn't work. Is it not possible to trap events of a view inside customdialog?
 

JesseW

Active Member
Licensed User
Longtime User
I have a listview added to a panel inside the customdialog2. I tried to get the Listview_ItemClick to find out the user selected item but it didn't work. Is it not possible to trap events of a view inside customdialog?

Make sure your not using a msgbox inside the listview event. They don't show until the custom dialog has completed.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…