Cancel Mouse Click

Mtas

New Member
I have a browser which displays jobs on system and selecting a job displays a tab control with say 5 tabs. Each tab has a blank frame on it. Each blank frame is linked to a .w file. For example Tab titles:

1. Helpdesk
2. Trade
3. SOR/SU
4. Meter
5. Codes

therefore if the tab Helpdesk is clicked i run the file helpdesk.w persistently passing input parameter like parent handle, row, column.

Each of the indivudal tab .w files have a savedata procedure and before savedata is run validation needs to be done.

Savedata method in each of the tab is run when the user goes on to the next record in the browser. Say we select job 10 and do some changes on it and than click job 15. Savedata needs to be run for all the changes for job 10.

If validation fails i want it to ignore the mouse click and stay on the current record i.e Job 10 and allow the user to make amends how can i achieve this?

Any help will be appreciated.
 
Back
Top