Posts: 1,271
Threads: 399
Joined: Mar 2003
i want to build the example with qm:
Drag and drop DataGrid in VB.NET 2005 windows application, vb.net samples and tutorials
can the DataGridView be used in qm (can't find it) ?
and what about the Database class used there ?
DT1 = New DataTable
DT2 = New DataTable
'The First Table has four columns
DT1.Columns.Add("Name", Type.GetType("System.String"))
DT1.Columns.Add("Designation", Type.GetType("System.String"))
DT1.Columns.Add("Department", Type.GetType("System.String"))
DT1.Columns.Add("Salary", Type.GetType("System.String"))
'Second has only two
DT2.Columns.Add("Name", Type.GetType("System.String"))
DT2.Columns.Add("Designation", Type.GetType("System.String"))
thanks
Posts: 12,097
Threads: 142
Joined: Dec 2002
I think these control and class are .NET control and class. QM does not support it.
Posts: 1,271
Threads: 399
Joined: Mar 2003
do you plan to add .net support or is it impossible ?
Posts: 12,097
Threads: 142
Joined: Dec 2002
Probably possible, because php supports it. But not in the next version.
Posts: 12,097
Threads: 142
Joined: Dec 2002
Do you get error when posting?
Quote:Could not insert new word...
Posts: 1,271
Threads: 399
Joined: Mar 2003
yes and also when using search (already sent you a mail)
Posts: 1,271
Threads: 399
Joined: Mar 2003
normally this can be fixed via phpmyadmin and repair table
Posts: 12,097
Threads: 142
Joined: Dec 2002
Thank you. Tried to repair but unsuccessfully. Will wait until tomorrow.
Posts: 1,271
Threads: 399
Joined: Mar 2003
do you have an idea how to implement this:
drag an item from a listbox (or another control ->1 column) on a datagrid/flexgrid cell ?
purpose is to assign a product sub category to multiple main categories.
Posts: 1,271
Threads: 399
Joined: Mar 2003
Posts: 12,097
Threads: 142
Joined: Dec 2002
Don't have. It seems that the control does not support OLE drag drop. Maybe somehow start to drag on WM_LBUTTONDOWN or WM_SETCURSOR, but it is difficult.
Posts: 1,271
Threads: 399
Joined: Mar 2003
i think it can be done with two flexgrids, but currently i have difficulties with implementing drag and drop.
CodeProject: Drag & Drop in FlexGrid
Posts: 1,271
Threads: 399
Joined: Mar 2003
attachment seems not to work either....
here is my test dialog
http://www.nightchatter.com/files/qml/flextest.qml
Posts: 12,097
Threads: 142
Joined: Dec 2002
I know very little about these controls and can answer only questions about QM-specific things.
Posts: 1,006
Threads: 330
Joined: Mar 2007
Hello Pi,
were you ever able to use FlexGrid within a QM dialog. From the prior posts, it looked like you were having trouble with drag-and-drop but perhaps other functionality was ok. The links to jpg and qml no longer active.
Any guidance would be most appreciated.
Thanks,
S
Posts: 1,271
Threads: 399
Joined: Mar 2003
that is old stuff from 2008.
i think it was the point where i started using Visual Studio for that i had in mind back then.
i have never tried using commercial components since then.
i have an idea for an application using qm as backbone where fancy datagrids would be helpful. need to check that.
http://www.devcomponents.com/dotnetbar/