Jump to content

John van de Waeter

Members
  • Content Count

    53
  • Joined

  • Last visited

Posts posted by John van de Waeter


  1. Hi All,

     

    In my app I tried this sample to test Geocode Reverse, to find a location's postal code.

     

    Works great on iOS, but works only once on Android. (tested on Android 6 and 9).

     

    First time lookup Geocode reverse works, but subsequent lookups give the same result as the first one.

    Have to kill the app and restart to have a new lookup.

     

    I tried to dispose the TGeoCoder, so it would be recreated at every lookup, but it didn't have any effect.

     

    Any ideas?

     

    tia!

    John

     

     


  2. Sorry for responding to an old post, but I wonder if the issue I notice is related.

    Put on a form 3 TEdits

    Give them different Keyboardtypes.

    tap in an Tedit, the correct keyboard is shown.

    Don't use the returnkey, but tap in the next Tedit.

    On Android, this works okay, the correct keyboardlayout is shown.

    On iOS, the keyboardtype from the first edit remains visible.

     

    Is this an iOS issue or a Firemonkey issue?

    Thanks,

    John

     


  3. Hi All,

     

    Delphi Sydney 10.4.1

     

    I have a Combobox with items. One of those items reads "Tea & Coffee".

    The Ampersand is seen as an acceleration character, so it disappears and the next space is underlined: Tea _Coffee.

    Nice on Windows, but not very useful on mobile.

    Now I can replace the & by && to have it displayed normally, but when a combobox is tapped, iOS takes over and displays the items in a scrollable list at the bottom, now showing "Tea && Coffee"

     

    Okay, now trying to stringreplace the & by chr(65286), the unicode full-width ampersand or by chr(65120), the half width ampersand, so it's not recognized as an acceleration character.

    Looks okay in Windows, but shows the & lowered on Android and much lowered on iOS when used in a fmx-label or a fmx combobox. 

     

    Is there a way to make such a unicode fullwidth ampersand line up with the other characters in a string?

     

    Or, if not, is there a (global) way to completely disable the acceleration character in all labels, combo's etc where the & needs to be displayed?

     

    Thanks in advance!

    John

     

     

     

     

×