Jump to content

David P

Members
  • Content Count

    42
  • Joined

  • Last visited

Community Reputation

3 Neutral

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

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

  1. Hello Roger We have a copy of RADStudio so it was an easy job to compile any Delphi components. For the components where we have the source (Delphi or C++), we needed to add an additional 'Target Platform' of 'Windows 64-Bit (Modern) '. Using the macro $(Platform) in the output path will create a \Win64x output directory. For those Delphi components for which we do not have source code, we'll just have to wait for an update from the vendors.
  2. The answer requires all Delphi components to also be compiled with the 64-bit Modern compiler (usually to a 64x directory)
  3. When testing BCB v12.2 I place one third-party component on a form and compile for 32-bit and 64-bit with no issues. When compling with the 64-Bit (Modern) compiler I receive the following error: [ld.lld Error] ld.lld: error: unknown file type: HTMLabel.o Do Delphi 3rd-party components need any special compilation to work with the 64-bit (Modern) compiler?
  4. David P

    TListItem.MinWidth doesn't work

    Both 11.3 and 12.1 have that 'else' in place and both enforce the MinWidth setting. It is possible to drag to a smaller width than MinWidth but upon release it springs to MinWidth width. I'm now wondering if I was just fixating on the dragging and not when the mouse was released.
  5. David P

    TListItem.MinWidth doesn't work

    I submitted this as a bug and they could not reproduce it in 11.3. Now, neither can I. I can reduce the column width to below MinWidth but as soon as I release the mouse button it springs back to MinWidth. I'm starting to doubt my sanity.
  6. David P

    TListItem.MinWidth doesn't work

    Thanks. I'm using CB 11.3 In the interim I thought I'd detect the column widths changing and then enforce the min width, but there doesn't appear to be any event that fires when a colmn has changed size. Never mind, found a solution you wrote in 2012.
  7. David P

    TListItem.MinWidth doesn't work

    Hello I'm using a TListView in Report mode and I'm creating columns dynamically. I am setting TListItem.MinWidth = 50, but when ran, this is being ignored. What am I missing? Thanks David
  8. We're currently using v11.3 and at the time of v12 release I didn't really see anything compelling enough to update (we're on a subscription) and go through the agro of updating all our third-party components. Is there a noticeable difference?
  9. David P

    Hyper-V server as host for 3 VMS

    Thanks. Any idea on the lifetime of a connection/use for a code signing cert?
  10. David P

    Hyper-V server as host for 3 VMS

    Why is that? Can multiple remote PCs connect to the Virtualhere server?
  11. David P

    TListView column widths with 125% font scaling

    Thanks Lars. Running C++ Builder 11.3 for any other that's have tackled this issue.
  12. I'm having difficulty saving and restoring column sizes when the user has their Windows Scale and Layout Scale value set to 125% (i.e larger fonts). With 100% font scaling, I can set and save the column widths without issue. If I set a column at 100pix and the user does not change the width, then it will still be 100pix when I save the column widths. With 125% font scaling, setting the column widths at 100, will result in a width of 125 when it comes to saving the column width. Using the Form's GetPixelsPerInch function I can save the 'base' width value. The issue I'm having is that adding an Image to the column header to denote that the list view is sorted using that column also appears to add in a further offset when it's time to save the column widths. This is only the case with non-100% font scaling. Has anyone handled this to obtain the base width without scale or image offsets?
  13. David P

    TScrollBox contents order

    Thanks for your reply (I've been on holiday). I followed your line of reasoning and was able to determine for my vertical TScrollBox: Child.Top - setting this has no effect on positioning in the TScrollBox If Align = alNone, all child windows will overlap at the top of the TScrollBox TScrollBox seems to purely use Child.Align to place windows. I was able to make this work by using: Child.Parent = MyScrollBox Child.Align = alBottom Child.Show( ) Child.Align = alTop New entries will now appear at the bottom of the stack.
  14. David P

    TScrollBox contents order

    Yes, I calculate the height of the current contents, then set NewChild.Top = HeightofCurrentContents + 50, so the Top should be below everything currently contained in the scrollbox. Similar to: NewChild.Top = HeightofCurrentContents + 50; NewChild.Parent = myScrollbox; NewChild.Align = alTop; NewChild.Show(); This has worked for ~20 years, but with the same code, stopped working a few months back. The only thing I can think changed was upgrading to 11.3 gtom 11.2
×