Jump to content

sjordi

Members
  • Content Count

    196
  • Joined

  • Last visited

Everything posted by sjordi

  1. sjordi

    CustomFormat useless?

    Euh ben non, il est pas content. Adding DisplayText is refused. It complains about that info to be unknown. Also if I right-click on the LinkListControlToField object and edit the expressions, all fields are grayed out and DisplayText is actually shown in the disabled fields (in the dialog box)... Now where do I specify the format itself, because I guess I still have to do this somewhere? Thanks
  2. sjordi

    TListView multi selection?

    Hi, It seems that the MultiSelection property has disappeared from the TListView component. It was available in XE4 if I'm correct. Any quick and smart way to allow the user to touch/click any TListView item and mark it as selected? And then be able to access the list of the selected item? I'd like the list to draw each selected item's background in, say, light blue! Thanks for any light on the technics. Steve
  3. sjordi

    TListView multi selection?

    Ok I checked now. My problem is I want to skip the checkboxes. I just want to touch/click an item to select/unselect it. Both OnItemClick or OnItemClickEx seem to be triggered, but I don't find a way to update/refresh the listview. My guess is I actually have to hook the click to the underlying database. This way, when data is changed it should update. I'm not sure whether there is a way to force a refresh: for testing purpose only I was using the Item.Tag to set it on/off, but obviously it's not enough.
  4. sjordi

    TListView multi selection?

    I'm going to check once back home and let you know
  5. sjordi

    TListView multi selection?

    I confirm that it also works on macOS and iOS YEAH You will be in my thanks in the about box of the app.
  6. sjordi

    AES Encryption - FMX

    Did you try TurboPower Lockbox ? It's free
  7. sjordi

    TListView multi selection?

    Great, I confirm that it now works on iOS... Probably on Android as well but my device is at home. Good workaround. I use it to actually change the background for multi-selected items... for i := 1 to 1000 do ShowMessage('Thanks a lot Serge !');
  8. sjordi

    TListView multi selection?

    Ok, I won't throw a stone if you don't have Apple devices. I tried on my Android system, same thing: Gray interface. Now I made sure not to have any styles, and also tried the ControlType of the ListView to be set to Styled or Platform. No change. Smartphones are gray. macOS, Windows are colorful with the color I picked... Very strange.
  9. sjordi

    TListView multi selection?

    Mhh, @Serge_G I implemented your code and it works fine except... on iOS. Nothing happens. Then I downloaded your code from the website you mention, compiled. Same thing. Ok on macOS, Windows, but not iOS. Don't have my Android device here, so I can't say. Any idea why damn iOS won't colorize? Steve
  10. sjordi

    TListView multi selection?

    Honte à moi, en plus j'avais le document quelque part et ne l'ai pas vu!!! Argh! Merci ! (Translated: shame on me, I had that document somewhere and didn't notice it! Argh!)
  11. sjordi

    TListView multi selection?

    Thanks, I'm going to check this. French is my mother tongue, so no problem. Interfaces are a must go anyway in good practices. Steve
  12. sjordi

    Delphi 10.3.2 with Xcode 11 and iOS 13?

    Yes, Just tried on an "old" iPhone 6S under iOS 12.4.1 Xcode 10.3 RADStudio Rio 10.2.3 iOS SDK in RADStudio: iPhoneOS 12.2 and 12.4 as well. Here are screenshots of the breakpoint in RADStudio and the "frozen" splash screen of the app at launch, just waiting for me to continue into the code.
  13. sjordi

    Delphi 10.3.2 with Xcode 11 and iOS 13?

    You might have to open Xcode. Go to Windows > Devices & Simulators. Then unlock and connect your device. It will do its magics and after a while. after the little wheel stops spinning, you should try again. Is it better this way?
  14. sjordi

    Delphi 10.3.2 with Xcode 11 and iOS 13?

    Did not try on iPhone yet, but the Mac deployment works without problems.
  15. sjordi

    TListView multi selection?

    I found an example from Rahiche Raouf, an excellent MVP in Algeria. He has an example on how to colorize a list view by adding a TListItemTextButton But unfortunately it seems that it doesn't work in Rio anymore. Modifying text, etc... works fine, but not the TintColor. procedure TForm1.ListView1UpdateObjects(const Sender: TObject; const AItem: TListViewItem); var textRect : TListItemTextButton ; begin textRect := AItem.View.FindDrawable('Rectangle') as TListItemTextButton ; textRect.TintColor := TAlphaColorRec.Green ; textRect.Text := 'Hello' ; end; This doesn't seem to work anymore 😞 I'll investigate further and post back once (because it will!) it works!!!
  16. sjordi

    TListView multi selection?

    Ok after tinkering with it, it seems that there is no way to multi select except when in Edit mode. Problem is I absolutely don't want it to be in Edit mode, and I don't want the check boxes to be shown... Hard to believe that such a basic feature is not implemented in TListView. I tried to work around this by implementing a CustomDraw mechanism, but even that seems not to be available, rendering ListViews useless in my case...
  17. sjordi

    AES Encryption - FMX

    I think that the free FMX TurboPower Lockbox offers AES encryption and it works on any platform. Did check whether AES256 is supported, but it's worth a look. Install it via GetIt
  18. sjordi

    TListView multi selection?

    Hi Dave, Yes I have seen this and it works, but I'm not sure I can escape the "Edit" mode. I'll study this. I just want to achieve a click or touch on any item and set it as selected/not selected... But I guess that it works the same way under the hood. Steve
  19. Hi, Does anybody have experience with placing a control into the menu bar? Mainly I'd like to add an active control in the Mac menu bar, or the Windows toolbar. Is there a described or easy way to achieve that? A control that would, say, open a callout menu with information. Thanks for any light Steve
  20. sjordi

    Put a control into the menu bar?

    Thanks a lot for your help Dave, Very useful. I'm going to dive into it right away 🙂
  21. sjordi

    GExperts error message when closing IDE 10.3.1

    No that's the only error I get when quitting Rio 10.3.3 The main difference is line 475 instead of 474 🙂 and the stack address
  22. sjordi

    GExperts error message when closing IDE 10.3.1

    I still have this error message when closing 10.2.3 and the latest GExperts 1.3.14 experimental twm 2019-09-08
  23. Hi, Just wanted to recompile an app I wrote a year ago that compiles fine under Tokyo, Seattle, Rio 10.3... Now under 10.3.2 if I compile it, no matter what the target platform, I get this error message while debugging: Project raised exception class EComponentError with message 'This control requires version 4.70 or great of COMCTL32.DLL' Of course I have strictly no idea whatsoever of which component is at the source of the problem. Any idea what could be the cause? Thanks for any light. Steve
  24. Ok after tinkering with the .dproj file I decided to start from scratch, an empty project, added all my units and compiled. No problems. Just had to add all the icons, splash screens, and the specifics in each Deployment. Now it works. Thanks all
  25. I have an empty VM that just has Windows 10 Pro 64-bit and Rio 10.3.2 I can find some COMCTL32.DLL files c:\windows\system32, version 5.82 c:\windows\SysWOW64, version 5.82 c:\Windows \WinSxS, version 5.82 None of them are actually in Rio. Very strange. I'm using an FMX app, not a VCL. I removed all manifest and entitlement files, recompiled... still the same problem
×