Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ToQMGrid()
#1
i have created a CSV object, i created a DlgGrid object.  I am trying to pass a csv table to Grid, but get an error, "parameter is incorrect".  why? what am i doing wrong? (side question: how do i get formatted code??)


str dd=
 BEGIN DIALOG
 0 "" 0x90C80AC8 0x0 0 0 224 136 "Dialog" "4"
 3 QM_Grid 0x56031041 0x200 12 0 96 48 "0[]A[]B"
 1 Button 0x54030001 0x4 116 116 48 14 "OK"
 2 Button 0x54030000 0x4 168 116 48 14 "Cancel"
 END DIALOG
 DIALOG EDITOR: "" 0x2040A00 "*" "" "" ""

str controls = "3"
str qmg3

int hDlg
DlgGrid g.Init(hDlg 3)

ICsv x._create ;;create csv object
x.FromString("A,B[]C,D")
x.ToQmGrid(g 1)

if(!ShowDialog(dd 0 &controls)) ret


Messages In This Thread
ToQMGrid() - by ilcaa - 07-24-2020, 07:35 PM
RE: ToQMGrid() - by Kevin - 07-24-2020, 08:04 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)