Jump to content

Bart Kindt

Members
  • Content Count

    42
  • Joined

  • Last visited

Community Reputation

5 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Bart Kindt

    Setting a TSplitter position at runtime

    Yes, basically what I got now. It is more complicated in my real program, but I got it working now. Thanks again , Bart
  2. Bart Kindt

    Setting a TSplitter position at runtime

    Yes, that worked. Still all kinds of weird behaviour. I had to put the two Memo's and splitter in a seperate Groupbox, else the bottom groupbox with the button in it would suddenly get above the bottom Memo and all is screwed. I also have to force the splitter Top to be above the bottom Memo top, minus the spiltter thickness. It is really messy, but it seems to work now. Thanks
  3. Bart Kindt

    Setting a TSplitter position at runtime

    Uh. I don't understand what you are saying. Show me what you mean in the code?
  4. Bart Kindt

    Setting a TSplitter position at runtime

    I have a simple test Form with two TMemo's. The top TMemo align is set as alClient. The second is set as alBottom. In between I put a TSplitter. I want to set the vertical position of the splitter at runtime. Basically, I want to save the form, and later load it so the two Memo's are set as the User may have set them before. No matter what I try, I cannot make the Splitter or either of the Memo's to change size (vertically). They do not respond to any runtime setting of 'Top', Height, etc. Really, if I set the bottom TMemo.Top at a position, the top TMemo should automatically change size to accomodate. Does not work. I must be missing something totally obvious. unit Unit2; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls; type TForm2 = class(TForm) Memo1: TMemo; Memo2: TMemo; GroupBox1: TGroupBox; Button1: TButton; Splitter1: TSplitter; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form2: TForm2; implementation {$R *.dfm} procedure TForm2.Button1Click(Sender: TObject); begin Splitter1.top := 100; // Does not work Memo2.top := 100; // Does not work Memo1.Height := 100; // Does not work end; end.
  5. Bart Kindt

    TLocationlistener.. fails in Delphi 12.

    You must do what Dave Nottage said.
  6. Bart Kindt

    Current state of the Embarcadero services

    Oh, sigh. So it does not work from that location, but it does work from the Tools menu... (another bug) I got it done now, thanks Dave.
  7. Bart Kindt

    Current state of the Embarcadero services

    Thursday 8 February. https://getit-12.embarcadero.com is still not reachable, and I want to install the PATCH which has just come out! Bart
  8. The problem is this. "Storage updates in Android 11 Android 11 (API level 30) further enhances the platform, giving better protection to app and user data on external storage. This release introduces several enhancements, such as raw file path access, batch edit operations for media, and an updated UI for the Storage Access Framework. The release also offers improvements to scoped storage, which makes it easier for developers to fulfill their storage use cases after they migrate to using this storage model. Scoped storage enforcement Apps that run on Android 11 but target Android 10 (API level 29) can still request the requestLegacyExternalStorage attribute. This flag allows apps to temporarily opt out of the changes associated with scoped storage, such as granting access to different directories and different types of media files. After you update your app to target Android 11, *the system ignores the requestLegacyExternalStorage flag*. " But in in 12 and 13 this got even worse. In 13 you now even must request special permissions to read Image files (seperately). Internet info states I am completely stuffed. The only way could be to use the external SDCard. But, there is no fixed access path to this. It seems to depend on the type of phone. I was hoping that somebody in this forum is an Android expert...
  9. After upgrading to Delphi 12, I could no longer install my personal App (for myself only) on my phone, du to incompatible signature. So I had to un-install the App, then re-install it. Before I did this, I copies the master database stucture from the *public* Documents directory to the SDCard and also to my Windows PC using 'OwnFiles'. Both the 'OwlFiles' and the Android Files programs had full access to it. After re-installing my App, I no longer can open the database file. I can see it, it exists. But no matter what I try, I can no longer open the file. Android 13. Also after copying the files straight back from the Windows PC (therefore without any original ownership). Now, I don't care *where* the bloddy files are; I can change the location in my App anywhere. But there seems to be no way my app can access *ANY* PUBLIC directories anymore. But the 'File managers', they CAN have full access! How can I find ANY place on my Android device where I can read a file which is supplied by nother program, OR copied in place by a file manager (from Windows). How can I for example IMPORT the original files, and then copy them back in place? Bart
  10. Bart Kindt

    How to remove C++ from RadStudio 12 after installation?

    I installed from the ISO file. When I run the ISO install again, I do not get any options, except that it is *required* that I un-install the 'current' version first. Which is the *same* version.
  11. Bart Kindt

    How to remove C++ from RadStudio 12 after installation?

    No, I already switched to my 'normal' licence. The Beta license shows as expired.
  12. Bart Kindt

    How to remove C++ from RadStudio 12 after installation?

    That failed catastrophically. Did still go to Licencing box; escaped out of it; IDE failed with 'delphi.exe' not found; then an crash of the IDE, then nothing.
  13. I installed RadStudio 12 while I still hade the Beta licence going, and I also activated C++. I was not aware that my *licence* does not cover C++ (I have never used it). Now I cannot start Delphi 12, because it says my licence does not cover C++. How to re change the installation to remove the C++ without having to wipe the entire installation (yet again) and have to completly start from scratch? Bart
×