B4A Library Dialogs library

Status
Not open for further replies.

agraham

Expert
Licensed User
Longtime User
Version 2.92 now posted has a ShowCalendar property in DateDialog that may help newer small devices by suppressing the calendar part of the dialog. However on my Xoom the dialog actually stays the same size but with the date part centred so it may or may not actually help in practice.
 

roarnold

Active Member
Licensed User
Longtime User
I am getting the following error prior in 2.91 and now in 2.92.

Parsing code. 0.12
Compiling code. Error
Error compiling program.
Error description: Unknown member: additem
Occurred on line: 102
MyListView1.AddItem("Title #"& i, SomeText.Get(i))
Word: additem


Thanks,
R
 

Cothek

Member
Licensed User
Longtime User
Very nice lib here agraham. Would it be possible to add an option to disable user input to the edit text?
 

demasi

Active Member
Licensed User
Longtime User
Custom dialog black background

Hello,

Very nice library. Thank you.

is there a way to change the black background in the custom dialog?

I couldn't find the differences between customdialog and customdialog2.

Is there any?

Thank you
 

dune3000

Member
Licensed User
Longtime User
events do not fire immediately

Hi Agraham,

I run your dialogs demo on an android 4.0.4 phone, when I open a customdialog2, and click on the button, its event is fired immediately, but when I click on lv, its event will be fired after I close the dialog.
What's the problem?

Thanks for your help!
 

aklisiewicz

Active Member
Licensed User
Longtime User
Unzip the archive to where you want your Basic4android project to be located and read the readme file.

I have problemwith this library.
Extracted files to:
C:\Program Files\Anywhere Software\Basic4android\Libraries

but when I open IDE I cannot see it!
Any idea ?


Arthur
 

Uitenhage

Member
Licensed User
Longtime User
EditText views in a CustomDialog don't wrap.

I have a CustomDialog with two EditText views. The user can fill in either, both or none. One of the views is for a text description or some other comments - not length restricted. I have set SingleLine = False and Wrap = True. I have the entire EditText view visible in the Panel but it doesn't wrap to a second line. Instead the top line just scrolls off the left side of the view.
 

Uitenhage

Member
Licensed User
Longtime User
Thanks for the quick response. I really would prefer modal. Could you post code? That would help me immensely.

Thanks again.
 

Uitenhage

Member
Licensed User
Longtime User
Erel, never mind.

I got it to work by commenting a line of code where I set the view up:

B4X:
txtComment.Hint = "Details, units, etc." 
txtComment.SingleLine = False
txtComment.Wrap = True
txtComment.Gravity = Gravity.TOP
'txtComment.InputType = txtComment.INPUT_TYPE_TEXT
txtComment.Text = "InitialText"   'DB.GetProductComment(b.Tag)
lblCount.Text = "Count" 
lblComment.Text = "Comment"

Does this make sense?

Thanks.
 
Last edited:

Uitenhage

Member
Licensed User
Longtime User
Thanks! I have posted questions in various .Net forums (including M$) over the years and have rarely (if ever) seen the responsiveness of B4A users!

 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…