adel(oBrw:aArrayData[nn], 2)
atail(oBrw:aArrayData[nn])=NIL
oBrw:DrawSelect()
for st=1 to nn
oBrw:aCols[st]:bRClickData:=&('{||Out_Elm('+ltrim(str(st))+')}')
oBrw:aCols[st]:bLDClickData:=&('{||Ins_Elm('+ltrim(str(st))+')}')
next
procedure Out_Elm(col)
local row:=oBrw:nArrayAt
oBrw:Cargo:=oBrw:aArrayData[row,col]
adel(oBrw:aArrayData[row], col)
return
procedure Ins_Elm(col)
ains(oBrw:aArrayData[row], oBrw:Cargo, col)
oBrw:DrawSelect()
return
1.
When I delete pic 2 the pictures from Pic3 to Pic12 should shift to left and become the Pic2 position so there is no empty cel. the empty cel is going to be the last one,
most right on the last free position. Pic 12 would be the empty cell.
2. Is drag and drop possible within the same row ? So drag pic 5 and drop on pic 2, pic2 and all others shift to the right and the dragged pic become the pic2.
Or for point 2 better to create a dialog with 2 xbrowse and drag/drop on that dialog and copy back to complete the modifications ?
nageswaragunupudi wrote:1.
When I delete pic 2 the pictures from Pic3 to Pic12 should shift to left and become the Pic2 position so there is no empty cel. the empty cel is going to be the last one,
most right on the last free position. Pic 12 would be the empty cell.
2. Is drag and drop possible within the same row ? So drag pic 5 and drop on pic 2, pic2 and all others shift to the right and the dragged pic become the pic2.
Or for point 2 better to create a dialog with 2 xbrowse and drag/drop on that dialog and copy back to complete the modifications ?
Both 1 and 2 are quite possible inside a single browse.
I guess you want the field data in the dbf also to be changed. Right?
nageswaragunupudi wrote:1.
When I delete pic 2 the pictures from Pic3 to Pic12 should shift to left and become the Pic2 position so there is no empty cel. the empty cel is going to be the last one,
most right on the last free position. Pic 12 would be the empty cell.
2. Is drag and drop possible within the same row ? So drag pic 5 and drop on pic 2, pic2 and all others shift to the right and the dragged pic become the pic2.
Or for point 2 better to create a dialog with 2 xbrowse and drag/drop on that dialog and copy back to complete the modifications ?
Both 1 and 2 are quite possible inside a single browse.
I guess you want the field data in the dbf also to be changed. Right?
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 89 guests