In my Browser
implementation to select default rows I have used the following code.
[browser setTarget:self];
[browser setAction:@selector(singleClickOnBrowser:)];
[browser sendActionOn:NSLeftMouseDown];
[browser selectRow:0 inColumn:0];
[browser sendAction];
Is there any way to differentiate user click and the rows selected for the first time to select default rows?
I did not find any API to differentiate user click and selecting the rows and columns from code. To achieve this I declared a BOOL variable to keep track of user clicks.
Following Code I changed the BOOL variable in Code.
Implemented the following delegate