Jump to content

Nicolò Blunda

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

2 Neutral

About Nicolò Blunda

  • Birthday 03/09/1965

Technical Information

  • Delphi-Version
    Delphi Community Edition

Recent Profile Visitors

1554 profile views
  1. Nicolò Blunda

    macOS SDK

    Yes, I mean SDK manager (accessible from path I wrote). After upgrade XCode on remote mac I have download new SDK and delete old in SDK manager. But new XCode generate some issue, so I woud like to point to previous (still present in folder of developement machine) without downgrade XCode from remote and re-transefer his files...
  2. Nicolò Blunda

    macOS SDK

    Hello. There is a way to avoid download all SDK files from macOS (remote) machine if the corrisponding item is (for mistake) deleted from Tools->Optionts->Deployment->Provisioning form? Folder with SDK files is still in my windows development PC. Do configuration file exists to restore pointment to this folder? Thank you.
  3. Nicolò Blunda

    Form size reduced in macOS

    I have find the solution. In MyForm.Create I insert this Constraints.MinWidth := MyForm.Width; Constraints.MinHeight:= MyForm.Height; Note that if MyForm.Position property is set to Designed, this affects only MyForm aspect under Windows OS and not under macOS.
  4. Nicolò Blunda

    Form size reduced in macOS

    The MainForm BorderStyle property is now set to the sizable value and all controls are in scale Align property When the app runs on remote macOS (low screen resolution: 1024x768 px, the form run in orginal designed size and resizes instantly to a very small size (see attachs "Original" and "Reduced") The original form has a minimum size of 1050x1000 px, so I expect its size to be larger than the virtual Mac screen, Is this strange behavior replicated with the high resolution Mac screen? Is there a way to show, even on small screen sizes of the remote Mac, the form in her design-time size? Thank you
  5. Nicolò Blunda

    Font size in macOS app

    Hi. The font size in my macOS apps (Desktop), for every control (labels, buttons, checkbox text, etc...), appears too large compared to the Windows version. Therefore, the text is often not displayed completely. Is there a way to change the font size in the Style file (read with the TStyleBook component) or is there a workaround? Thanks.
  6. Hello. How can I read runtime current TForm background color from TStyleBook object? I don't find correct syntax to access to StyleContainer inside TStyleBook object (see attach). Thanks.
  7. Nicolò Blunda

    Wrong Form resize in macOS

    HI. I just converted my project to "reactive mode". The MainForm BorderStyle property is now set to the Sizable value and all controls are in "scale" mode (Align property). When the app runs on remote macOS (very poor screen resolution, 1024x768 px), the window resizes to a very small size, smaller than designed. The window has a minimum size of 1050x1000 px, so I expect its size to be larger than the virtual Mac screen. Is this strange behavior replicated with the high resolution Mac screen? Is there a way to show, even on small screen sizes of the remote Mac, the minimum form size (show them at design time)? Thank you.
  8. Nicolò Blunda

    Debug don't starts in DelphiCE 11

    Thank you very much. Now, all works fine!
  9. Nicolò Blunda

    Debug don't starts in DelphiCE 11

    Found solution. Some wrong lib (for running exe simulation in web browser), for mistake, hase been leave in DEBUG directive.
  10. Hello. DelphiCE is a commercially limited edition, full working (so the specifies says...). I just try to compile my project (build under Delphi 10.3 Professional), and all works fine, 3rth part addon too... But DEBUG environnment does't go working. Running the application in DEBUG mode with F9, main form is not showed (none breakpoint is set!) and StepOver and TraceInto tools are inactives. Is it a CE limitation? Thanks.
  11. Nicolò Blunda

    Get metadata string from Manifest

    0 Find the solution! After move <meta-data> key outside <activity> section, code to read value for name="productName" is: function GetProductName: string; var PackManager: JPackageManager; AppInfo : JApplicationInfo; Begin PackManager:= SharedActivity.getPackageManager; AppInfo := PackManager.getApplicationInfo(SharedActivityContext.getPackageName, TJPackageManager.JavaClass.GET_META_DATA); Result := JStringToString(AppInfo.metadata.getString(StringToJString('productName'))); End;
  12. Hello. To get string versionName value of field inside <manifest> key, in AndroidManifest.xml file, I use this code: function GetFileVersionName: string; var PackageManager: JPackageManager; PackageInfo : JPackageInfo; Begin PackageManager:= SharedActivity.getPackageManager; PackageInfo := PackageManager.getPackageInfo(SharedActivityContext.getPackageName, TJPackageManager.JavaClass.GET_ACTIVITIES); Result := JStringToString(PackageInfo.versionName); End; If the filed is in a meta-data key, inside <activity> section, like this... <meta-data android:name="productName" android:value="HelloWorld" /> how can change above code to retrive it? Thanks.
  13. Nicolò Blunda

    FMX Form On maximize event

    Thank you very much. Maybe it is an effect of different Embarcadero RadStudio version? I work with 10.4...
  14. Nicolò Blunda

    FMX Form On maximize event

    Thank you very much. Your code works on Windows but only to show message (like that your have insert). But if you want, for example, to show or hide control like this TThread.ForceQueue(TThread.CurrentThread, procedure begin if ord(self.WindowState) = 2 then labe1.visible:= false else labe1.visible:= true; end); code works only utlil maximization oparation is performed. When form is reset to original dimensions, code don't works. Regards.
  15. Nicolò Blunda

    FMX Form On maximize event

    Hello. There is a way to detect Form OnMiximize event (to disable SizeGrip in a Status Bar)? I find a lot of pages for OnMiximize detection via TApplication object, but only for VCL developpment...
×