Jump to content

Kurt G

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

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

  1. When I place a form in the IDE on the screen and e.g. sets the width to 600pix, it takes up much more on the screen. I have posted a screenshot of RAD10 at: http://kg2.dk/RAD2/index.htm The shape is set in the Object Inspector to 1055 x 1080 px. I make a screencopy and paste into IrfanView. When I measure the size of the shape on the screenshot with IrfanView, it is 1701 x 957 px. And IrfanView gives the resolution of the image as 49 dpi. Another thing, which may be related to the above, I am wondering: The form and the Object Inspector seem to be related. I cannot separate the left edge of the shape and the right edge of the Object Inspector. When I move the mouse to the bar at the top of the shape, I can't move the shape! If, on the other hand, I move the right edge of the Object Inspector, the shape follows. Where in the IDE can you set up so that the form on the screen takes up the same amount as I specify?
  2. Kurt G

    Install rotating component in RAD 10.4

    I have now 'played' with the RotateBitmaps procedure and got it to work as I want. So now I don't need to install the new component. Thanks for the help.
  3. I don't know what "AFRO" and "(ouf)" in "Thanks, but this AFRO thing is now obsolete because IDE force it when you close designer (ouf)" mean. Can anyone help?
  4. Kurt G

    Install rotating component in RAD 10.4

    Yes, but then the corners are cut off. I'll see if I can find Ansus Johnson's Image32 and try it!
  5. Kurt G

    Install rotating component in RAD 10.4

    I have tried the shown program and it works with rotation. I set it to rotate 45 degrees for each press of the button but then the image moves further down to the right with each press. Can the routine only be called once? I show images for four consecutive taps.
  6. Kurt G

    Install rotating component in RAD 10.4

    Yes, but it's in FMX and I have a hard time doing without the VCL panel at the top, as I don't understand how to find the components in FMX. And I haven't been able to find Rotate in any of the packages for VCL. Therefore, I would like to have the rotate component installed in the VCL.
  7. I have installed Delphi RAD 10.4. I want to install a component to rotate images and have found various guides, but can't get any of them to work. Is there anyone who can help?
  8. Thanks for your help, it's starting to come through. I am having problems with the components disappearing from the Frame. I must have found a tutorial about the IDE, but it shouldn't be YOU TUBE, I prefer to read.
  9. unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, System.IOUtils, FMX.ListBox; type TForm1 = class(TForm) Button1: TButton; ListBox1: TListBox; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.fmx} procedure TForm1.Button1Click(Sender: TObject); var Lvi : TListViewItem; I : Integer; DirArray : TStringDynArray; begin Lvi := ListView1.Items.Add; Lvi.Text := 'Hello'; Lvi := ListView1.Items.Add; Lvi.Text := 'FMX'; Lvi := ListView1.Items.Add; Lvi.Text := Tdirectory.GetCurrentDirectory; DirArray := TDirectory.GetFiles(Lvi.Text); var Filename: string; for I := 0 to High(DirArray) do begin Filename := DirArray; Lvi := ListView1.Items.Add; Lvi.Text := fileName; end; end; end. ----------------------------------------------------- A lot has happened since D5! 🙂 I started a new project and placed a Tbutton and a TListBox on the form. But the compiler give error: Undeclared identifier: TListviewItem in the line: Lvi : TListViewItem; See the code in Unit.pas. Unit1.pas
  10. I have given up the D5 code. I started from beginning by selecting Multi-Device Application. But I still nead the function to list directory and files, and I have not found any examples for that until now.
  11. Pardon, it is l"DirectoryListBox or FileListBox."
  12. I an totally new to RAD, and have installed RAD 11.2. I want to convert a project from Delphi5 to RAD 11.2 in Multi-Device App. as it can rotate an Image. I therefor started a new app. but I can not find anything like ListBox or FileListBox. Is there no procedure or function in RAD 11.2 to do the job? Is there another way i FMX to do it?
×