Hello
I’ve made some search, but I did not find anything on that subject.
1 – I have a table with 10 columns, 10 lines. Each field is a memo type (Aa_Mem01, Aa_Mem02, Aa_Mem03...)
2 – I have a grid to display my 10 columns X 10 lines.
3 – I created a container class, with one edit box and one command button. (cntInput). When I bind the grid with the data source, I assign the container class to each column ;
Everything is working as expected. The memo data appear in the edit box, and if I click on my button, I show a form for data input.
My question: Is it possible to allow the user to drag one memo from one cell to an other?
Thanks in advance
Nro
I’ve made some search, but I did not find anything on that subject.
1 – I have a table with 10 columns, 10 lines. Each field is a memo type (Aa_Mem01, Aa_Mem02, Aa_Mem03...)
2 – I have a grid to display my 10 columns X 10 lines.
3 – I created a container class, with one edit box and one command button. (cntInput). When I bind the grid with the data source, I assign the container class to each column ;
Code:
lnMii = 1
FOR EACH loCol IN .Objects
loCol.NewObject('cntInput','Invh_cntHoraire', COU_CLSINVHHOR,'')
loCol.CurrentControl = 'cntInput'
loCol.Sparse = .F.
loCol.cntInput.edtRemark.ControlSource = .RecordSource + ".Aa_Mem" + PADL(ALLTRIM(STR(lnMii)),2,"0")
BINDEVENT(loCol,"Resize",loCol.cntInput,"Set_ColumnWidth")
lnMii = lnMii + 1
NEXT
My question: Is it possible to allow the user to drag one memo from one cell to an other?
Thanks in advance
Nro