Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC:

Resize pictures 19 Jan 2021 13:32 #17225

  • wriedmann
  • wriedmann's Avatar


  • Posts: 3199
  • Hi Chris,
    I have started working on a DBServer that exposes all the functionality of the DBServer, but without the notification things, and all based on the RDD classes. The class is working, but I was not able to make the seek method working as I have not found anything to access the orders.
    Please find a PRG attached with the actual development state.
    Wolfgang
     
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it
    Attachments:

    Please Log in or Create an account to join the conversation.

    Resize pictures 19 Jan 2021 14:59 #17227

    • Chris
    • Chris's Avatar


  • Posts: 3667
  • Hi Wolfgang,

    Nice work! Not sure what you mean about seek though, I see you have used the same code that the runtime does. Doesn't that work?
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    Resize pictures 19 Jan 2021 17:34 #17237

    • wriedmann
    • wriedmann's Avatar


  • Posts: 3199
  • Hi Chris,
    the Seek method does not work as I don't have found any possibility to set an order in these classes.
    Most of the code is written searching in the class sources as I have not found any useful documentation.
    Maybe I will have to build a sample....
    Wolfgang
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

    Please Log in or Create an account to join the conversation.

    Resize pictures 19 Jan 2021 20:37 #17239

    • Chris
    • Chris's Avatar


  • Posts: 3667
  • Hi Wolfgang,

    Well, documenting everything would take too much time I am afraid, but you can see how everything works by following the high-to-low level implementation. For setting an order, see first the code for DBSetOrder(), as you can see it simply calls VoDb.OrdSetFocus(). VoDb inherits from CoreDb, and there you can find the method OrdSetFocus() defined, in file XSharp.Core\RDD\CoreDb.prg. Just use the same code in your custom class (with any adjustments you like of course) and it whould be fine! Same for everything else that you need to implement...
     
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    Resize pictures 19 Jan 2021 20:56 #17240

    • wriedmann
    • wriedmann's Avatar


  • Posts: 3199
  • Hi Chris,
    thank you very much!
    I will try that and then share my code.
    Wolfgang
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1
    • 2