View button causing my browse to be editable

I just noticed this on another screen… and just added a view button to a browse.. on both, when I click on the view, it goes to the view form as it should, but when it returns, the browse is in edit mode, so they can actually edit the fields on the browse screen.

I can’t seem to find where to turn it off.
Any hints would be appreciated.

Using Clarion ABC 11 13630 EE

Thanks,


Ray Rippey
VMT Software

Ray

Provide more info, screenshots, etc.

Personally, I don’t understand what it means " they can actually edit the fields on the browse screen" LOL!! What??? EIP??? what you mean?

Assuming you are using the ABC classes.

When you enter most procedures, right at the beginning of ThisWindow.Init you have

self.request = GlobalRequest
followed by
Returnvalue = Parent.init

and in Parent.Init self.request is copied into self.originalrequest

Those two values control a bunch of what the window does, in particular whether it tries to save anything when it closes, returns to batch entry forms, stuff like that.

I don’t think calling another procedure should really cause those values to change, but I guess the first thing to check would be to see if they are different after you return from your view button procedure. And if they are then you need to figure out why.

Yes, EIP is what I meant… Old now and all the words don’t come like they used to. After exiting the view form it goes into EIP immediately. Very weird. EIP must be turned on somewhere when you add the view button.

So, I read somewhere that the view button has something to do with the update buttons. I put them on the screen and it stopped the EIP from happening. However, when my viewform came up, and I had to close it twice.

So, I used the change button and that worked fine (my form is view only). However, the right click menu showed the Insert and delete keys even after hiding them. I disabled them and the delete key still showed up in the right click menu.
So, I created my own view button (not using a template), deleted the update buttons, used the mimic to add my new view button to the right click menu, and alerted the doubleclick in the browse to post to the new view button. I have a few other places that have for years when clicking on the view makes me close the view form twice.