DgIndex and DgLine
Posted: Thu May 12, 2016 11:16 pm
Hi, i'm creating a video player. The playlist is a DataGrid Form. When a video is playing, for example, de video 5, and i erase the videos 1,2 and 3, the dgline of video 5 changes to 2. So, if i want to play the next video, y must play the dgline +1 of video 5.
The question is: how to get the dgIndex of a dgLine or the dgLine of a dgIndex ?
Resolved.
put the dgLineOfIndex[pLine]
put the dgIndexOfLine[pLine]
The question is: how to get the dgIndex of a dgLine or the dgLine of a dgIndex ?
Resolved.
put the dgLineOfIndex[pLine]
put the dgIndexOfLine[pLine]