HMG Tutorials & Tips

Exclusive forum for HMG, a Free / Open Source xBase WIN32/64 Bits / GUI Development System
  1. Thank you very much my friends.

    Statistics: Posted by zolysoftsolutions — Sat Nov 04, 2017 11:20 am


  2. Zoli B.

    Use AddItemEx method.

    From HMG documentation:
    <ParentWindowName>.<GridControlName>.AddItemEx ( aItem, nRow )

    Set nRow := 1

    Statistics: Posted by KDJ — Fri Nov 03, 2017 9:29 pm


  3. With virtualgrid it's easy :-)

    Statistics: Posted by mol — Fri Nov 03, 2017 8:15 pm


  4. Hello,

    How can I insert a row in a Grid?
    By example I have 4 records in a grid and I have to insert a new row as first and the rest I want to move down.

    The single solution is to move the data in array, sort and move back to the grid? ..or have somebody some more elegant solution?

    Thank You.

    Zoli B.

    Statistics: Posted by zolysoftsolutions — Fri Nov 03, 2017 7:46 pm


  5. Shame on me :cry:
    I have to apologize, indeed I had forgotten to include hmg.ch.
    Now evrything is ok.
    The 'syntax error'-message was misleading me, brought me on the wrong track.

    Thank you for your changes of my code.

    Robert

    Statistics: Posted by ROBROS — Thu Sep 28, 2017 1:28 pm