Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 17 MAY 1999 11:08:12AM Greg James, ISIS, Inc. wrote:

Is there a way to allow users to insert rows in an edit table, but not delete rows from the same edit table?

Thanks.


At 17 MAY 1999 03:34PM cpates@sprezzatura.com,[url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote:

Hi Greg,

3 ways I suppose…

On the EditTable's DELETEROW event you'll be passed the row data that was deleted, so you can just use the Send_Message INSERT function to put it back. It looks a bit messy as the user sees the row deleted and then get put back!

The other way is to protect the Edit Table ( Properties, More ) and then use a button or some other mechanism to programatically use Send_Message INSERT to put data into the table. That way the delete key won't work ( but neither will the insert key which is why you have to handle it yourself )

The 3rd way, ( just to annoy Don :-) is to subclass the control and strip out any delete-key messages before they reach OI…

Regards

cpates@sprezzatura.com

Sprezzatura Group

World Leaders in all things RevSoft


At 18 MAY 1999 04:59AM Oystein Reigem wrote:

What about the 4th way - make your own edit table from edit lines and buttons and scroll bars and program everything yourself? Mind - I haven't quite recovered from celebrating our national holiday yesterday so I won't take any responsibility for its feasability.

Ooops! Carl? Is that you? Andrew managed to get hold of you yet?

- Oystein -

oystein.reigem@hit.uib.no


At 18 MAY 1999 05:21AM Carl Pates, Sprezzatura Group wrote:

Hi Oystein,

Yes, it's me and I'll be in the office next week ( just found out today…I'm in sunny holland at the moment :-)

Cheers

Carl


At 18 MAY 1999 06:50AM Oystein Reigem wrote:

Carl,

Yes, it's me and I'll be in the office next week ( just found out today…

Does that mean I can come visit you for some tutoring?

In case which days are you available? Can I have two short days? Mon 24th and Tue 25th? Tue 25th and Thur 27th? (I'm at the Rev UK seminars Wed 26th.)

(I know the discussion list isn't the proper place for this but I have problems contacting you guys today.)

I'm in sunny holland at the moment :-)

It's sunny and warm here too! (Bergen is a very rainy city, so there should be a law against working on days like today.)

- Oystein -

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/c3258470443981d18525677400532635.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1