Jump to content

gurpal2000

Members
  • Content Count

    5
  • Joined

  • Last visited

Everything posted by gurpal2000

  1. gurpal2000

    JCL, JVCL on Rio?

    Really struggling to install JCL/JVCL on Rio (since they're not yet available in GetIt). I've got the github code, and followed their instruction to the letter (i think). JCL appears to be "installed" yet "use JCLShell" or "use JCLSysUtils" are not being recognised. JVCL - no chance. Does anyone have step-by-step or a video perhaps? thanks
  2. gurpal2000

    JCL, JVCL on Rio?

    Yep been there done that! I guess the experience varies. In short, after the JCL install, the JVCL install.bat says "No Delphi/BCB/BDS/RAD-Studio versions was found that has the required dependencies installed. Please install the dependencies first." Similar to what folks see on https://community.embarcadero.com/component/easydiscuss/jcl-jvcl-and-10-1-berlin-installation-issues?Itemid=1 I'm using it for a couple of functions really, so looks like will have to wait for the official Get Its to appear.
  3. gurpal2000

    Binding TObjectList to TListView

    Newbie here. I have used various web toolkits and am familiar with MVC/MVVM. Trying some desktop development. Plenty of examples on the web about binding say TObjectList<TPerson> to a TListView through the use of TPrototypeBindSource or TAdapterBindSource+TDataGeneratorAdapter. All those seem to require prototype fields/data and then binding code to the ObjectList. It seems over the top. Of course I'd rather not iterate over the list and manually set a Caption and SubItem (if I have say FirstName and SecondName as columns). That would be mad. What I want to do is effectively associate the TObjectList with the ListView. Is there a way to do this simpler without the bindsource/adapter just in pure code. Do I need to write a custom adapter? Any examples?
  4. gurpal2000

    Binding TObjectList to TListView

    Ah very helpful. Will take a look. Thx
  5. gurpal2000

    Binding TObjectList to TListView

    Hi David, thanks for replying. Editing - by that do you mean inline editing, like textboxes appear inside the row itself and so forth? No. I want to manipulate the view by operating purely on the TObjectList. The UI threads simply update TListView. For example If I change a person's name (in code), I would find the object in the TObjectList, change it. And the component should just reflect it. I'm using VCL by the way if that makes any difference. Maybe I'm expecting too much here 😕 thanks,
×