Jump to content

Incus J

  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

Recent Profile Visitors

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

  1. OK progress - If I toggle the Maximise button those Desktop Layout controls appear ... but they appear overlapping the form designer, not in the title bar:
  2. The Delphi Rio UI has the new appearance skin - so I think themes is enabled (I haven't disabled themes that I know of). I'm running Windows 10.
  3. Thanks for the info. I think there might be something wrong with my setup. There are no controls or fields displayed in the title bar on my system, except the usual minimise, maximise and close icons on the right hand side. Is it an option I need to enable somewhere?
  4. In XE4 I can save and load IDE layouts using a field on the main toolbar. In Delphi Rio the main toolbar doesn't have these IDE layout controls, and I haven't located an equivalent on the view menu. - Whenever I start Rio, it defaults to a layout with very narrow Structure/Inspector panes about 100 pixels wide. I drag to widen the panes to a useful size, but my adjustments are forgotten when I next start Rio. - In Delphi Options, Save desktop layout is ticked, but this setting seems to be ignored by the IDE. - I can see options for selecting Default, Startup and Debug layouts, but I don't currently understand what to do with them. Can I add my own layouts to the list somehow? What is the difference between Startup and Default? What does a layout set to 'None' mean? Basically, how can I customise the IDE layout in Rio? I'm using a 13" laptop, so need to customise carefully to be efficient/productive with the limited screen space available.
  5. That worked perfectly - thank you!
  6. How can I move some existing TMenuItems from one TPopupMenu to another, on the same form? In the form designer, I can drag a TMenuItem in the Structure pane - but as soon as I hover over the target TPopupMenu, the cursor changes to a 'no entry' symbol, so I'm unable to drop the item where I'd like it to be. Edit Cut/Paste don't seem to be available for a selected TMenuItem either? I'm probably missing the really obvious. Any ideas?
  7. Thanks for all the replies. I think I used the web installer to install 10.3.1 - so I'll give that a try (backing up the VM first). Yes, I've found that some projects, especially those originating in older releases (e.g. Delphi 7 or 2010) and then dragged through later releases, start to behave in odd ways. For example the application version and build number settings don't stick - or when compiling, a different version number is assigned to the build than what is displayed in the project Options dialog. It trips up source control too. Perhaps there's an easy way to say 'start a new clean .dpr/.dproj file for this project'? It would be great if the Delphi Help menu included a Check For Updates item, as a quick foolproof way to update within the same series (e.g. 10.3.1 to 10.3.2 etc.)
  8. OK - don't laugh... I’d like to update my Delphi Rio 10.3.1 installation to 10.3.2 - but I’m not sure how. I’ve had a look on the Help menu, but can’t see a Check For Updates menu item. I’m aware there is a full ISO image available - I run Delphi in a Virtual Machine, so I could mount that. However I’m not looking to install from scratch here - I’d just like to update with the latest improvements and fixes, keeping my current environment intact. Is there a quick straight forward, hassle free way to update an existing installation to 10.3.2?
  9. Incus J

    Windows App Store icon sizes - unplated?

    Experiment 2 : In the Project Deployment Manager, simply rename the Remote Name of the original existing 44x44 icon so it ends '.targetsize-44_altform-unplated'. Rather than trying to provide an additional 44x44 icon. OK that's more promising - the newly generated AppxManifest.xml icon entry matches the renamed file in the Assets folder: <uap:VisualElements ... Square44x44Logo="Assets\Logo44x44.targetsize-44_altform-unplated.png" .../> ...but unfortunately the deployed app still runs showing a tiny plated icon in the Task Bar.
  10. Incus J

    Windows App Store icon sizes - unplated?

    As an experiment I just tried adding a separate copy of the UWP 44x44 icon to the Project Deployment Manager. I named this copy with the extension '.targetsize-44_altform-unplated' as suggested in Microsoft's documentation. Then I set its Remote Path to 'Assets\' so it would appear in the Assets folder, and built the app. 
 No joy - perhaps because the auto-generated AppxManifest.xml file does not contain a path to that icon filename. When the app is run, its Task Bar icon is still very small and surrounded by a grey 'plate'. But maybe I'm heading in the right direction. Anyone have any ideas? Perhaps Delphi includes an option to customise the generated AppxManifest.xml file somewhere?
  11. When I create and run a Windows Store App, my application icon looks very small on the taskbar, compared to other application icons. It appears to be surrounded by a grey background too, instead of transparent. After reading around a bit, I suspect I'm getting a 'plated' icon. How can I get an 'unplated' app icon instead? I'm using Delphi Rio 10.3 to generate the appx file, and have provided the required UWP 44x44 and 150x150 icons, in addition to the main app icon (which contains 16x16, 24x24, 48x48 and 256x256 images) in Delphi's Options.
  12. Incus J

    TStringGrid background - Bitmap Style Designer

    OK - I've figured it out. Just in case it helps anyone: 1 - In addition to the Grid object there is a separate Colors section which lists a Grid color. This sets the Grid background color, however it may be necessary to set it a few times. The new color doesn't always take for some reason, and the option to 'Pick' a color from the screen seems buggy. 2 - Saving the Style, then simply recompiling does not update the style in the application. A full Build of the application is required. I've not yet worked out how to determine which item(s) in the Bitmap Style Designer relate to a specific control, other than trial and error, though the style preview can be helpful.
  13. Using a VCL Style, I'm trying to customise the background colour of TStringgrid objects. The empty part of the grid that contains no cells. At present the background is rendering white - and I'd like it to render a different colour. The Bitmap Style Designer lists a Grid object, which contains a single Fixed (TSeBitmapObject) item, but nothing relating to painting the background of the grid control. How can I determine which item(s) in the Bitmap Style Designer relate to all aspects of drawing a TStringgrid control?
  14. Can anyone recommend a 3rd party JPEG library that works with Firemonkey? It would need to be fairly self-contained I think, so it would work on both Windows and MacOS.
  15. Thank you everyone for the encouragement and advice. I've made an initial attempt using the TThread class as a starting point - with some success, in that the Cancel button now works. To verify the main thread remains responsive I placed a spinning TAniIndicator on the form. It does spin during the lengthy image processing, however it pauses intermittently a couple of times during the processing of each image, which suggests something is still blocking the main thread? Question: Apart from updating the UI, is there anything else that typically requires a Synchronize? For example my thread contains file operations - should they be Synchronized too? I'm also encountering possible intermittent failure of CreateBitmapFromFile - which works perfectly when I run all my code on the main thread. So I'm making progress, but would welcome further pointers.