Jump to content

David P

Members
  • Content Count

    37
  • Joined

  • Last visited

Everything posted by David P

  1. 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?
  2. 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
  3. 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.
  4. 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?
  5. David P

    Hyper-V server as host for 3 VMS

    Why is that? Can multiple remote PCs connect to the Virtualhere server?
  6. 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?
  7. 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.
  8. Hello Can anyone recommend a commercial software licensing package. To handle the usual time limited/permanent/licence count, etc for both 32 and 64 bit windows applcations. Prefer a one off rather than a monthly fee. Many thanks.
  9. David P

    TScrollBox contents order

    For our application, we used to add new items to the bottom of the scrollbox so they're in chronologcal order (top=oldest). We were able to do this by setting all the child forms with Align=alTop and Top to be further down the screen. This worked. Random child forms could be destroyed and the contents would shuffle up, retaining their order. Possibly with the introduciton of 11.3, this changed. No matter what I now do, items are always inserted at the top. I don't want to have recreate all the contents of the scrollbox to get my desired order as a user may be interacting with a child form higher up in the scroll box. Does anyone know how to add items to the bottom of a scroll box? Thanks David
  10. 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.
  11. 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
  12. In my experience, the Delphi/BCB hpp generator sometimes duplicates declarations already defined in wincrypt.h and other Embarcadero shipped headers. In these cases, I just comment out he offending declaration in the third-party component .hpp files. I'm running ICS v8.69 with BCB 11.3.
  13. In my experience: Clang produces faster code Classic is faster to compile Clang gives better warnings/error messages. Clang is more standards compliant I believe. Clang is the future for BCB Compilation speed: Use either Twine Compile, or use Clang Batch compilation to improve compilation speed. Making our code compile using clang was fairly simple as the warnings/errors given are very helpful.
  14. David P

    Software licensing system recommendations

    Thanks all, much appreciated. WinLicense seems to be the most appealing so far.
  15. As title. Looking to trial kbmMW and wondered if anyone is using it with BCB. Thanks D
  16. Hello Not sure if this should be here or third-party. Has anyone released an application to customers which includes TEdgeBrowser? Which method did you use to install the correct Webview2loader.dll... and keep it updated? I'm wondering if we're walking into a big support issue here. Many thanks.
  17. Does anyone know of a variable for the exe name I can use in the Project|Options|C++ Shared Options - Paths? $(ModuleName) is blank and using some M$Build name var (I forget the exact name) results in F9 not being able to find the exe. Ideally, I'd like a standard output path for all projects, something like: $(DEV_BUILD_DIR)\$(ExeNameHere)_$(Platform)_$(Config) Thanks all.
  18. From the above thread, your comment: >> The variable is defined in the base configuration, so it is safe to use it in the inherited ones, but fails when used inside the base configuration itself. Gives the solution. Do not define the output paths in Target - All Configuraitons but in Target - Debug Configuration - All Platforms / Release Configuration - All Platforms then it works .
  19. Thanks Uwe. I forgot that I'd already asked this question and tried $(SanitizedProjectName) , which fails for some elements of the BCB toolchain (Linker I think).
  20. David P

    TEdgeBrowser - Any successful deployments and updates?

    Thanks. Do you ship a WebView2Loader.dll or use a MS installer for that. I shipped the one provided in the \redist folder and have had mixed results on client test sites.
  21. Hello I would like to be able to connect to a video camera (USB Initially) to capture footage and to process the footage (frame by frame), either live or after it has been saved. The idea is to create a traffic counter. Can anyone recommend a video capture/processing library Many thanks
  22. Thanks Rollo/Tom. This is intended as a hobby project intended for use in my local area. I'm hoping this means I can simplify the configuration/detection a lot.
  23. Thanks Tom. that's very useful. Always good to get a recommendation from someone who uses the library.
  24. I had that issue for a debug build, I had to increase the linker sizes. Clang can be made to use multiple threads and be almost as fast as TC.
×