B4A Library Dialogs library

Discussion in 'Additional libraries, classes and official updates' started by agraham, Dec 7, 2010.

Thread Status:
Not open for further replies.
  1. DonManfred

    DonManfred Expert Licensed User

    i´m sure this is the WRONG place to ask this. This is the thread for the dialogs library

    I dont know
     
  2. Douglas Farias

    Douglas Farias Expert Licensed User

    @warwound can you pls put a option to
    - hide the edittext
    - Option to change ↓Files ↓ text or remove this text line
    - Option to change .. text or remove this text line
    on filedialogs pls?

    thx
     
  3. warwound

    warwound Expert Licensed User

    @Douglas Farias

    I'm busy with work for a few days but will look at an update later in the week.
     
    Douglas Farias likes this.
  4. Gagandeep Singh

    Gagandeep Singh Member Licensed User

    Hello, I am facing a problem. I am unable to simulate the program. I tried updating the library functions as well but things don't seem to be in place. Somebody please help. DialogError.png
     
  5. DonManfred

    DonManfred Expert Licensed User

    Add
    Code:
    Dim ret As Int
    To the sub Globals...

    Code:
    Sub Globals
        
    'These global variables will be redeclared each time the activity is created.
        'These variables can only be accessed from this module.
        Dim ret As Int
        
    Dim btnDate As Button
        
    Dim btnInput As Button
        
    Dim getTime As Button
        
    Dim Bmp As Bitmap
        
    Dim btnColor As Button
        
    Dim btnColor2 As Button
        
    Dim btnNumber As Button
        
    Dim btnFile As Button
        
    Dim btnCustom As Button
       
        
    Dim lbl1 As Label
    End Sub
     
    lemonisdead likes this.
  6. peacemaker

    peacemaker Well-Known Member Licensed User

  7. demasi

    demasi Active Member Licensed User

    Is there a way to get the exact dimensions of the dialog panel for any device?
    Or maybe get the dialog´s top, left, bottom and right coordinates?
    Or the corrdinates of the Cancel and Ok buttons?
    I need to position my views in a custom dialog, but it looks different in each device.
     
  8. Graeme Tacon

    Graeme Tacon Member Licensed User

    Is anyone else facing this issue? I want to use the number dialog with 4 digits and 1 decimal place. It worked fine on my SGS3 (android v4.4.4), but now on my SGS6 edge (android 6.0.1), in portrait mode, you can only see the first 4 digits - the decimal place is off the side of the screen. See attached screenshots.

    Is there a way around this ?

    I'm using v2.92 of the library.

    Thanks
    Graeme
     

    Attached Files:

    Last edited: Jul 29, 2016
  9. aedwall

    aedwall Active Member Licensed User

    I am using v2.92 and do not get what you display in your demo. I get the 3-control set for month-day-year, with the year control cut off after the "2" in "2016" and then the calendar to the right. But in your demo, just the calendar displays no matter what my setting is for Dd.ShowCalendar. Can you tell me what is going on? Thank you.

    dd.ShowCalendar = False 'displays year control rather than calendar itself (MAKES NO DIFFERENCE IF SET TO TRUE OR FALSE)
    dd.Year = DateTime.GetYear(DateTime.Now)
    dd.Month = DateTime.GetMonth(DateTime.Now)
    dd.DayOfMonth = DateTime.GetDayOfMonth(DateTime.Now)

    ret = dd.Show("Set the date", "What date do you want?", "OK", "", "", Bmp1)
     
  10. clooney48

    clooney48 Active Member Licensed User

    Hi Graeme!
    I have got exactly the same problem! Originally when I wrote my app 2 years ago it worked flawless.
    Didn´t find a solution up to now.
     
  11. MattC

    MattC Member Licensed User

    Is there a problem with the current file attached to the first post?

    I've downloaded it and everything works (so files are in Additional Libraries folder etc) except there is no ListView visible on the CustomDialog2 example, it just shows btn1. Btn1 works btw. Just no listview. This occurs with no changes to the code.

    As far as I know I'm not having issues anywhere else in the examples or in B4A itself.
     
  12. DonManfred

    DonManfred Expert Licensed User

    Which customdialog2 demo??? There is only one example in post #1 (DialogsDemo.b4a) and this does not show a listview

    Edit: Ohh, i see in btnCustom2_Click

    Change
    Code:
    pnl.AddView(lv, 300dip120dip120dip250dip)
    to
    Code:
    pnl.AddView(lv, 20dip120dip120dip250dip)
    The LV is there. just 300dip from left....

    You should start a new thread in the questionsforum and upload a example project which shows this issue (file-Export as zip)
     
    Last edited: Nov 16, 2016
  13. MattC

    MattC Member Licensed User

    That's it, I'm using a Z3 compact, list was off the screen.
    Thank you! Something something something paypal!
     
    Erel and DonManfred like this.
  14. DonManfred

    DonManfred Expert Licensed User

    Thank you, Matthew! :)
     
  15. JTmartins

    JTmartins Active Member Licensed User

    Hi everyone.

    I'using V2.92 of this library, but I can only get 4 digits. I would like to have something like ###.##, but I cant find a way of displaying more than 4 digits even using nd.digits=8.

    Even the demo, which in theory should show 10 digits only showes 4 !!!

    Android 6 here.

    I've seen posts about this, but found no solution so far. Help would be welcome.
     
  16. Stern0m1

    Stern0m1 Member Licensed User

    Is there documentation for this library somewhere?

    Thanks
     
  17. Erel

    Erel Administrator Staff Member Licensed User

  18. divinglog

    divinglog Member Licensed User

    Hi, I've updated to 2.94. What happened to the ShowCalendar property in the DateDialog, which was available before?
     
  19. Erel

    Erel Administrator Staff Member Licensed User

    What was the purpose of ShowCalendar? I will implement it in the latest version.
     
  20. DonManfred

    DonManfred Expert Licensed User

    See @vecino answer here
     
    Erel likes this.
Thread Status:
Not open for further replies.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice