Jump to content

Search the Community

Showing results for tags 'vcl'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Delphi Questions and Answers
    • Algorithms, Data Structures and Class Design
    • VCL
    • FMX
    • RTL and Delphi Object Pascal
    • Databases
    • Network, Cloud and Web
    • Windows API
    • Cross-platform
    • Delphi IDE and APIs
    • General Help
    • Delphi Third-Party
  • C++Builder Questions and Answers
    • General Help
  • General Discussions
    • Embarcadero Lounge
    • Tips / Blogs / Tutorials / Videos
    • Job Opportunities / Coder for Hire
    • I made this
  • Software Development
    • Project Planning and -Management
    • Software Testing and Quality Assurance
  • Community
    • Community Management

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Delphi-Version

Found 57 results

  1. Make a cool demo using Skia4Delphi and Delphi 11.1 Alexandria, post it on GitHub, be the envy of all your friends, and maybe win a new M1 Mac Mini! Visit the official contest page: Skia4Delphi GUI Beauty Contest See also the latest Skia4Delphi webinar: Supercharge Your User Interface with Skia4Delphi - Webinar Replay - YouTube
  2. Dear´╗┐ visitors, We like to inform you that new version of NextSuite6 is released. Click here to read the release news. This upgrade brings new column type - Chart column. ´╗┐ Click here for Online Store and Prices . NextSuite includes al´╗┐ways growing set of VCL components. Most important components are: ´╗┐NextGrid6 (StringGrid/ListView replacement, written from scratch). NextDBGrid6 (Db variant of the grid) NextInspector6´╗┐ - An´╗┐ object inspector component. Next Collection 6 - A set of smaller components that are both useful and easy to use. Next Canvas Application - a drawing application that wysiwyg convert your drawings into a valid Delphi TCanvas code. ´╗┐ ´╗┐ and many more.´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐ Few´╗┐ screenshots: ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ Download big demo project from: http://www.bergsoft.net/downloads/vcl/demos/nxsuite6_demo.zip´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ Boki (BergSoft) boki@bergsoft.net | LinkedIn Profile --´╗┐ BergSoft Home Page: www.bergsoft.net Members Section: bms.bergsoft.net Articles and Tutorials: developer.bergsoft.net (Developers Network) -- BergSoft Facebook page -- Send us applications made with our components and we will submit them in news article. Link to this page will be also set on home page too.´╗┐´╗┐´╗┐
  3. Dear´╗┐ visitors, ´╗┐ We are offering excellent opportunity to get 35% off on our Next Suite Delphi (VCL) Components. Just use EASTER coupon code on the checkout page to get 35% off. Click here for Online Store and Prices . NextSuite includes al´╗┐ways growing set of VCL components. Most important components are: ´╗┐NextGrid6 (StringGrid/ListView replacement, written from scratch). NextDBGrid6 (Db variant of the grid) NextInspector6´╗┐ - An´╗┐ object inspector component. Next Collection 6 - A set of smaller components that are both useful and easy to use. new Next Canvas Application - a drawing application that wysiwyg convert your drawings into a valid Delphi TCanvas code. ´╗┐ ´╗┐ and many more.´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐ Few´╗┐ screenshots: ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ Download big demo project from: http://www.bergsoft.net/downloads/vcl/demos/nxsuite6_demo.zip´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐ Best regards´╗┐´╗┐´╗┐´╗┐ ´╗┐ Boki (BergSoft) boki@bergsoft.net | LinkedIn Profile --´╗┐ BergSoft Home Page: www.bergsoft.net Members Section: bms.bergsoft.net Articles and Tutorials: developer.bergsoft.net (Developers Network) -- BergSoft Facebook page -- Send us applications made with our components and we will submit them in news article. Link to this page will be also set on home page too.´╗┐´╗┐´╗┐
  4. v3.3.0 Added HeightMultiplier property to TSkLabel to change the default line height; Added tag properties to TCustomWordsItem of TSkLabel; Added TItemClickedMessage to intercept the OnClick of all TCustomWordsItem of TSkLabel controls; Improvements in the OnClick triggering of TSkLabel items; Fixed many issues in Windows when using Skia4Delphi Canvas (including combobox dropdown); Fixed wrong colors in iOS with services when using Skia4Delphi Canvas: IFMXTakenImageService, IFMXCameraService, IFMXPhotoLibrary and IFMXShareSheetActionsService; Fixed effects and filters issue in Metal when using Skia4Delphi Canvas; Fixed wrong text size when using Skia4Delphi Canvas (fixing problems with TMemo and TTMSFMXHTMLText); Fixed AV in TSkLabel when the text of a TWordsItem starts with a sLineBreak; Fixed case-insensitive of image formats when saving images; Fixed wrong draws with stroke thickness zero when using Skia4Delphi Canvas; Fixed black screen startup on iOS in simple forms with only shapes when using Skia4Delphi Canvas; Fixed specific cases of performance issues in Windows when using Skia4Delphi Canvas; Fixed projects of RAD Studio 11; Fixed popup menu exception in rasterization mode when using Skia4Delphi Canvas; Fixed modulate color problem before RAD Studio 11.1 (which involves TintColor and TintIconColor properties on mobile); Minor improvements and fixes. Github: github.com/skia4delphi/skia4delphi Website: skia4delphi.org
  5. New job opportunity if you are experienced. Prefered location is Kokkola Finland but remote work is accepted. https://attracs.teamtailor.com/jobs/1660578-delphi-developer/45cf12cb-1f96-4e93-94c1-8b96c6a45ade
  6. The complete VCL package includes more than 760 VCL components including popular packages like LMD DockingPack, GridPack or LMD DialogPack (available for Delphi/C++Builder XE2 and better). Major changes in this release are the redesigned RichPack and common PrintPack package. New controls were added to LMD-Tools (new Font/Replica image list controls) along with dozens of requested improvements and fixes. Color schemes and JSON support were added to LMD SyntaxEdit; DemoCenter and AnyLogger app were updated (e.g. using the new scalable font icons). Please check also Tutorials Page to review several new and updated documentations. A list of all changes can be found on LMD VCL WhatÔÇÖs new page. Check the new trials and compiled Exe-Demos at https://www.lmd.de/downloads Feature Matrix of all LMD VCL products: https://www.lmd.de/feature-matrix If you are interested in purchasing check out the order Page: https://www.lmd.de/shopping´╗┐ ´╗┐ If any questions are left, please contact us at mail@lmdsupport.com!´╗┐
  7. v3.0.1 Increase default form quality of Skia4Delphi Canvas in Android and iOS; Improve documentation about Righ-To-Left text rendering with Skia4Delphi Canvas; Fixed demo in Android 11; Fixed exception in ExcludeClipRect; Fixed quality of DrawImage of Skia4Delphi Canvas; Fixed some wrong pixel format in Android and iOS (without metal) that caused wrong colors of TCameraComponet; Fixed opacity of TSkAnimatedImage, TSkLabel and TSkSVG when using Skia4Delphi Canvas; Fixed TSkSVG cache; Fixed compilation with FmxLinux; Fixed FontWeight in FmxLinux; Fixed PDF viewer of demo in FmxLinux; Fixed setup and improve the logs; Fixed build.sh script; Fixed chocolatey package; v3.0.2 Fixed pixelformat of TBitmap of Skia4Delphi Canvas; Github: github.com/skia4delphi/skia4delphi Website: skia4delphi.org
  8. Dear´╗┐ visitors, We like to inform you that new version of NextSuite6 is released. Click here to read the release news. ´╗┐ Click here for Online Store and Prices . NextSuite includes al´╗┐ways growing set of VCL components. Most important components are: ´╗┐NextGrid6 (StringGrid/ListView replacement, written from scratch). NextDBGrid6 (Db variant of the grid) NextInspector6´╗┐ - An´╗┐ object inspector component. Next Collection 6 - A set of smaller components that are both useful and easy to use. Next Canvas Application - a drawing application that wysiwyg convert your drawings into a valid Delphi TCanvas code. ´╗┐ ´╗┐ and many more.´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐ Few´╗┐ screenshots: ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ Download big demo project from: http://www.bergsoft.net/downloads/vcl/demos/nxsuite6_demo.zip´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ Boki (BergSoft) boki@bergsoft.net | LinkedIn Profile --´╗┐ BergSoft Home Page: www.bergsoft.net Members Section: bms.bergsoft.net Articles and Tutorials: developer.bergsoft.net (Developers Network) -- BergSoft Facebook page -- Send us applications made with our components and we will submit them in news article. Link to this page will be also set on home page too.´╗┐´╗┐´╗┐
  9. Greetings Dear Delphians, Say we have 20 Forms in an App. We use these 6 lines to create 20 Forms at different places. Form1 := TForm1.Create; try Form1.ShowModal; finally Form1.Free; end; When refactoring we can see this is a lot of code duplication and we should encapsulate form creation in a procedure like this. procedure ShowForm ( ThisForm: TCustomForm ) ; begin ThisForm := TCustomForm(ThisFormClass.Create);//?? How to Get Form Class try ThisForm.ShowModal; finally ThisForm.Free; end; end; I only have problem in first line. how to get ThisForm parent class to call it. Is it even possible? If yes then how? What about FMX? Any help or pointer is appreciated. Thanks and stay blessed
  10. Dear´╗┐ visitors, We like to inform you that we are offering 35% discount on our products. Just use HOLIDAYS21 coupon code on the checkout page to get 35% off. Click here for Online Store and Prices . NextSuite includes al´╗┐ways growing set of VCL components. Most important components are: ´╗┐NextGrid6 (StringGrid/ListView replacement, written from scratch). NextDBGrid6 (Db variant of the grid) NextInspector6´╗┐ - An´╗┐ object inspector component. Next Collection 6 - A set of smaller components that are both useful and easy to use. Next Canvas Application - a drawing application that wysiwyg convert your drawings into a valid Delphi TCanvas code. ´╗┐ ´╗┐ and many more.´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐ Few´╗┐ screenshots: ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ Download big demo project from: http://www.bergsoft.net/downloads/vcl/demos/nxsuite6_demo.zip´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ Boki (BergSoft) boki@bergsoft.net | LinkedIn Profile --´╗┐ BergSoft Home Page: www.bergsoft.net Members Section: bms.bergsoft.net Articles and Tutorials: developer.bergsoft.net (Developers Network) -- BergSoft Facebook page -- Send us applications made with our components and we will submit them in news article. Link to this page will be also set on home page too.´╗┐´╗┐´╗┐
  11. Dear´╗┐ visitors, We like to inform you that new version of NextSuite6 is released. Click here to read the release news. ´╗┐ This week we are offering excellent opportunity to get 50% off on our components. Just use BLACKFRIDAY coupon code on the checkout page to get 50% off. Click here for Online Store and Prices . NextSuite includes al´╗┐ways growing set of VCL components. Most important components are: ´╗┐NextGrid6 (StringGrid/ListView replacement, written from scratch). NextDBGrid6 (Db variant of the grid) NextInspector6´╗┐ - An´╗┐ object inspector component. Next Collection 6 - A set of smaller components that are both useful and easy to use. new Next Canvas Application - a drawing application that wysiwyg convert your drawings into a valid Delphi TCanvas code. ´╗┐ ´╗┐ and many more.´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐ Few´╗┐ screenshots: ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ Download big demo project from: http://www.bergsoft.net/downloads/vcl/demos/nxsuite6_demo.zip´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ Boki (BergSoft) boki@bergsoft.net | LinkedIn Profile --´╗┐ BergSoft Home Page: www.bergsoft.net Members Section: bms.bergsoft.net Articles and Tutorials: developer.bergsoft.net (Developers Network) -- BergSoft Facebook page -- Send us applications made with our components and we will submit them in news article. Link to this page will be also set on home page too.´╗┐´╗┐´╗┐
  12. Hi, Using the VirtualTreeView, an error is raised but why ?. I have recreated a minimal sample to reproduce it. Either my coding does an error (more likely), either the component do it. The problem comes when a node is deleted (only when the deleted node has one sibbling with subnodes) from the OnGetImageIndex event. The event is called with an index greater than avalaible nodes. If someone has an idea ? Delphi 11 + VirtualTree for VCL 2021.09. Thanks a lot, Eddy TestVclVT.zip
  13. Dear´╗┐ visitors, ´╗┐ We are offering excellent opportunity to get 35% off on our Next Suite Delphi (VCL) Components. Just use HALLOWEEN coupon code on the checkout page to get 35% off. Click here for Online Store and Prices . NextSuite includes al´╗┐ways growing set of VCL components. Most important components are: ´╗┐NextGrid6 (StringGrid/ListView replacement, written from scratch). NextDBGrid6 (Db variant of the grid) NextInspector6´╗┐ - An´╗┐ object inspector component. Next Collection 6 - A set of smaller components that are both useful and easy to use. new Next Canvas Application - a drawing application that wysiwyg convert your drawings into a valid Delphi TCanvas code. ´╗┐ ´╗┐ and many more.´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐ Few´╗┐ screenshots: ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ Download big demo project from: http://www.bergsoft.net/downloads/vcl/demos/nxsuite6_demo.zip´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐ Best regards´╗┐´╗┐´╗┐´╗┐ ´╗┐ Boki (BergSoft) boki@bergsoft.net | LinkedIn Profile --´╗┐ BergSoft Home Page: www.bergsoft.net Members Section: bms.bergsoft.net Articles and Tutorials: developer.bergsoft.net (Developers Network) -- BergSoft Facebook page -- Send us applications made with our components and we will submit them in news article. Link to this page will be also set on home page too.´╗┐´╗┐´╗┐
  14. shineworld

    Change Scroll bar color

    Hi all, I've already used Themes, with satisfaction, on some little applications. In a big application, I haven't used the TStyleManager.Engine because too hard to re-design the entire application, but I would like to have a way to style only the scrollbars colors of a TSynEdit component. It is, in some way, possible to add ONLY the TScrollingStyleHook behavior in a program without the Style engine running? Thank you for your suggenstions!
  15. The complete VCL package includes more than 750 VCL components including popular packages like LMD DockingPack, GridPack or LMD DialogPack (available for Delphi/C++Builder XE2 and better). Besides the support of the latest RAD 11 version this is a mere service release which contains several fixes and enhancements based on user requests and documentation updates (e.g. revised documentation for LMD DevUtil). Review changes of this service pack on history page. General changes of the LMD 2021 platform release can be found on LMD VCL WhatÔÇÖs new page. Check the new trials and compiled Exe-Demos at https://www.lmd.de/downloads All exe-demos were recompiled and digitally signed, for example the LMD DockingPack /AnyLogger or new DemoCenter demos. Feature Matrix of all LMD VCL products: https://www.lmd.de/feature-matrix If you are interested in purchasing check out the order Page: https://www.lmd.de/shopping´╗┐ If any questions are left, please contact us at mail@lmdsupport.com!´╗┐
  16. Image32 is a 2D graphics library written entirely in Delphi Pascal. It provides an extensive range of image manipulation functions and includes a polygon renderer that supports a wide range of filling options. Documentation: http://www.angusj.com/delphi/image32/Docs/_Body.htm Examples: http://www.angusj.com/delphi/image32/Docs/Examples.htm Download: https://sourceforge.net/projects/image32/
  17. vfbb

    Skia4Delphi

    Website: github.com/viniciusfbb/skia4delphi Skia4Delphi is a cross-platform 2D graphics API for Delphi based on Google's Skia Graphics Library (skia.org). Google's Skia Graphics Library serves as the graphics engine for Google Chrome and Chrome OS, Android, Flutter, Xamarin, Mozilla Firefox and Firefox OS, and many other products. Skia provides a more robust Canvas, being very fast and very stable, with hundreds of features for drawing 2D graphics, in addition to a text shaping engine designed to render texts in the most diverse languages with right-to-left support (such as the Persian language), full support for loading SVG files, support for creating PDF files, support for rendering Lottie files (verotized animations created in Adobe After Effects), integration with the GPU, among countless other cool features. Skia's idea is similar to Firemonkey's, the same codebase used in an OS will work the same on other platforms. It is also possible to design using the CPU in independent background threads. Skia also has native codecs, of course if you don't use the SKCodec class, when loading an encoded image it will give priority to using the platform's native codec, but it is possible to use its codec, for example for jpeg files it uses libjpeg-turbo and for png files libpng which maybe in certain environments may perform better than native. See some examples: Advanced shapes Advanced text rendering / shaping Svg Lottie files And much more...
  18. Dear´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ visit´╗┐ors,´╗┐ I like to notify ´╗┐you that´╗┐ new version of NextSuite is available. Detailed info can be read on: News Article As the summer is near, we are also offering 35% discount on all our components. Just enter SUMMER2021 coupon code while ordering and discount will be applied to the final amount. NextSuite includes al´╗┐ways growing set of VCL components. Most important components are: ´╗┐NextGrid6 (StringGrid/ListView replacement, written from scratch). NextDBGrid6 (Db variant of the grid) NextInspector6´╗┐ - An´╗┐ object inspector component. Next Collection 6 - A set of smaller components that are both useful and easy to use. new Next Canvas Application - a drawing application that wysiwyg convert your drawings into a valid Delphi TCanvas code. ´╗┐ ´╗┐ and many more.´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐ Few´╗┐ screenshots: ´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐ Download big demo project from: http://www.bergsoft.net/downloads/vcl/demos/nxsuite6_demo.zip´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐
  19. Shavkat PANDA

    Styled menus / popup menus don't look nice

    highlighted menu items look pretty without styles: but with style applied the menu looks childish (left, bottom and right margins are all different!): how to fix that, folks? thanks
  20. Vincent Parrett

    Determining text width

    Anyone know of a better way to determine the width as it would be displayed. Canvas.TextWidth is consistently giving back too a value that is around 15-20% too small. I'm using this in a custom control and have assigned the control's font to the canvas.. all to no avail. I have spent at least an hour searching for answers to this but got nowhere. I feel like I must be missing something obvious?
  21. shineworld

    TTouchKeyboard layout

    Hi all. I'm on a PC with the Italian language and an Italian true keyboard. In the VCL software, I would like to use the TTouchKeyboard. Is a technical software where I need to force TTouchKeyoard to display US keyboard layout, because chars as [ ] | # etc are mandatory instead of accented ├Ę├ę├▓├á├╣ of specific Italian layout. I've imported the Vcl.Touch.Keyboard.pas in project to add minor graphics changes, which works fine, but I'm not able to understand how to force English layout. I've tried to change CreateKeyboard method to say "use alwyas 'en' but doesn't works. function TCustomTouchKeyboard.CreateKeyboard(const Language: string): Boolean; var Index, RowIndex, ColIndex: Integer; Button: TCustomKeyboardButton; LeftPosition, TopPosition: Integer; KeyboardState: TKeyboardState; KeyboardLayout: TVirtualKeyLayout; Row: TVirtualKeys; FoundCaps: Boolean; _Language: string; begin Result := False; FoundCaps := False; for Index := 0 to FButtons.Count - 1 do FButtons[Index].Free; FButtons.Clear; FDeadKey := VKey(-1, -1); TopPosition := 0; _Language := 'en'; if _Language <> '' then FLanguage := _Language; The result is always: There is a way to force it ?
  22. aehimself

    How to "dim" a TabSheet?

    Hello, I am trying to "dim" a whole tabsheet so a notification can be clearly shown - blocking the sheet itself, but not blocking the main form. I guess I'd need an alpha blended panel or a semi-transparent bitmap drawn on a TImage... never really worked with imaging until now so I'm not sure about the terms. Other than the standard components I have Graphics32 installed; can this be achieved with a custom TPanel descendant or with Graphics32 somehow? I would like not to install any 3rd party component just for this if not needed. Worst case scenario I'll capture the tabsheet as a bitmap and draw it on a alClient panel with Canvas.Draw - which supports opacity. Using Delphi 10.4.2 if it matters.
  23. Dear´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ visit´╗┐ors,´╗┐ I like to notify ´╗┐you that´╗┐ new version of NextSuite is available. Detailed info can be read on: News Article As Easter is near, we are also offering 35% discount on all our components. Just enter EASTER coupon code while ordering. NextSuite includes al´╗┐ways growing set of VCL components. Most important components are: ´╗┐NextGrid6 (StringGrid/ListView replacement, written from scratch). NextDBGrid6 (Db variant of the grid) NextInspector6´╗┐ - An´╗┐ object inspector component. Next Collection 6 - A set of smaller components that are both useful and easy to use. ´╗┐ ´╗┐ and many more.´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐ Few´╗┐ screenshots: ´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐ ´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐ ´╗┐´╗┐´╗┐´╗┐ Download big demo project from: http://www.bergsoft.net/downloads/vcl/demos/nxsuite6_demo.zip´╗┐´╗┐´╗┐´╗┐´╗┐´╗┐
  24. Vincent Parrett

    VCL Handling of dpi changes - poor performance

    Is it just my delphi applications that behave poorly when handling dpi changes? This is when setting high dpi in the manifest to PerMonitorV2. I have verified that the controls (many of them mine) are handling this as they should (override ChangeScale). When dragging the application between monitors with different dpi's, it takes 3-4 seconds while the window flickers and repaints multiple times - the dragging operation pauses while it does this, and then the window eventually jumps to where you actually dragged it. I've been looking at other applications (that ssupport PerMonitorV2) to see how they behave, even explorer stutters a little, due I guess to the ribbon control - but the stutter is around the 200ms mark. Thunderbird seem to repaint twice but very fast. After some debugging, as far as I can tell, this is caused by all controls getting their ChangeScale method called (as you would expect) which results in calls to SetBounds, which invalidates the control causing more painting! TWinControl.ScaleControlsForDpi appears to be doing the right thing (control alignment is a perf hog), but calling EnableAlign inevitably invalidates the control, again. procedure TWinControl.ScaleControlsForDpi(NewPPI: Integer); var I: Integer; begin DisableAlign; try for I := 0 to ControlCount - 1 do Controls[I].ScaleForPPI(NewPPI); finally EnableAlign; end; end; This really show up an inherent design flaw in the vcl, there is no BeginUpdate/EndUpdate design pattern in the vcl that allows a control (or form) to disable child controls painting until it's done. Many controls implement this pattern individually, but that doesn't help in this scenario. The situation isn't helped by my using Vcl Themes either - resize (setbounds) causes serious flicker in some controls and I'm sure this is coming into play here too. I tried to fudge a BeginUpdate/EndUpdate with this : procedure TMainForm.WMDpiChanged(var Message: TWMDpi); begin SendMessage(Self.Handle, WM_SETREDRAW, NativeUInt(False), 0); try inherited; finally SendMessage(Self.Handle, WM_SETREDRAW, NativeUInt(true), 0); RedrawWindow(Self.Handle, nil, 0, RDW_INVALIDATE or RDW_UPDATENOW or RDW_ALLCHILDREN); end; end; It cut's out the visible repainting, but doesn't speed things up much If anyone has any ideas on how to tackle this I'm all ears.
  25. bazzer747

    OnClick Oddity

    Hi In a window I have a 'floating' panel (calledpanEdit)that follows the items in a dbgrid. On some occasions I don't want to see that panel. Elsewhere I have an edit field and on it's OnClick event I have: panEdit.Visible:= False; which works fine, making the panEdit panel invisible. However, that's not so good in design terms as I have to enter this edit field to make the panel invisible. So I have put another panel on the form, made it effectively invisible by not showing borders and colouring it the same as the background. On it's OnClick event I've put the same code to make panEdit invisible. But it doesn't! I follow the code in debug mode and when I click on this panel it goes to the OnClick event, runs the panEdit.Visible:= False code, but does nothing. Am I missing something here? There's an OnClick event for a panel and it runs the code but doesn't run the code, if you see what I mean. I've put a ShowMessage('Hello there') in the OnClick event and that shows, so it is running that code, but ignoring, the panEdit.Visible:= False; code.
├Ś