coding a mshflexgrid question 28896820

regarding coding a msflexgrid
Each column does a different thing some cannot be edited
the EnterCell fires just before the ClickEvent
 which should be coded ?
isnoend2001Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Martin LissOlder than dirtCommented:
OK, I'll take a look.
isnoend2001Author Commented:
Ok
Martin LissOlder than dirtCommented:
I'm not sure what you are asking. Yes, some columns can not be edited. Is that a problem?

And yes the EnterCell fires just before the ClickEvent. The code for both of those events could probably be combined into either event but there is a problem with the way we are using the EnterCell. We use it, in part, to tell the user that the cell can't be edited, but the event is only fired when the sell entered is changed. So if you click on, say, one of the Reminder Type cells you get the message saying it can't be edited, but if you click on the same cell again nothing seems to happen. Is that what you want fixed? BTW what does happen on the second click is that an error occurs but because of the way that the error is handled, there;'s no error message.
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

isnoend2001Author Commented:
I was thinking the entercell nothing happens if the cell has already been entered.
I am thinking that putting an exit sub in the entercell and coding the click event
Would that fix the issue of nothing happening ?
Martin LissOlder than dirtCommented:
I will fix that problem for you. Do you care how I do it?
Martin LissOlder than dirtCommented:
Here's a new version

This version includes
Modified code so that GridMaster EnterCell fires if the same sell is  entered twice or more in a row. (the problem you stated here)
Fixed a problem where DTPicker1 was showing up any time frmRemider was clicked
Removed some dead variables and changed some scopes from Public to Private
28897803.zip

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
isnoend2001Author Commented:
thankks ready,for another question ?
Martin LissOlder than dirtCommented:
Yes. Please make it the one about facts. I now understand the process and I believe I can get it working in short order.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.