Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SQL Lite and QM
#25
You don't see what you select because grid control is not focused. It loses focus when you click a button.

Testing:
Add button with id 12.
Add this code:
Function dlg_QM_Grid2
Code:
Copy      Help
,
,case 12 ;;Select 2 rows
,SetFocus id(3 hDlg)
,LvSelect id(3 hDlg) 0 2|4 ;;sel first row
,LvSelect id(3 hDlg) 1 1 ;;and next row

To see listview selection when it is not focused, add LVS_SHOWSELALWAYS style.

3 QM_Grid 0x54210009 0x200 0 0 232 140 ""


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)