The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Check datagrid for rows
Posted: 11 Apr 07 12:23 PM
|
| Is there an easy way to tell if a datagrid has records or not? Thanks |
|
|
| |
|
Re: Check datagrid for rows
Posted: 11 Apr 07 1:00 PM
|
fiogf49gjkf0d Thanks Ryan. Another one - How can I disable a popup menu item programatically? DataGrid1.PopupMenu.Items.????? - not sure where to go.
Thanks |
|
|
|
Re: Check datagrid for rows
Posted: 12 Apr 07 12:06 AM
|
Assuming that the Index of the Item that you want to disable is 1:
DataGrid1.PopupMenu.Items(1).Enabled = False
|
|
|
| |
|
Re: Check datagrid for rows
Posted: 10 Feb 08 12:05 AM
|
Unfortunately that's a big assumption on the PopUpMenu Items.
Why are the Popup Menu Items 0,1,2,.....when you perform an AXFormChange....and then bump up by the number of grid.EditOptions.ShowEdit = TRUE plus 1 that are True?
|
|
|
|