Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1963

Several notes after update RAD Studio to the recent 10.2.1

$
0
0

 

I've updated RAD Studio 10.2 to the recent 10.2.1 release. I found out strange behaviour of last version RAD Studio which is different from RAD Studio 10.1. All notes are valid for Android platform.

 

  • Method “Application.Run” in DPR file should call main message loop and program should wait for terminate message. But it is not right because calling Application.Run does not stop stepping code in debug mode.

  • During creation and showing form are called events: FormCreate, FormShow, FormActivate. I always supposed that event FormActivate should be called when form is visible. It is not true for platform Android. Handler of event FormActivate is called but form is not visible.

  • FMX form has event which is created when virtual keyboard is showed (FormVirtualKeyboardShown) and when keyboard is hidden (FormVirtualKeyboardHidden). Both event handlers get same parameter Bounds which describes size of keyboard. Height of Bounds is correct only for handler FormVirtualKeyboardHidden. Handler FormVirtualKeyboardShown gets invalid height of parameter Bounds (in my case 24).

 


Viewing all articles
Browse latest Browse all 1963

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>