Is there a standard way to delete a row in the AccuTerm GUI grid?

59 views
Skip to first unread message

Joe G

unread,
Aug 3, 2022, 5:40:48 PM8/3/22
to Pick and MultiValue Databases
I'm trying to write a utility using the Accuterm GUI and one of the things that my users might need to do is delete a row from the grid.  It seems like it should already be part of the interface with a right click or something but I can't find anything on it or any examples on how to do it.

I've tried defining one of the grid columns as s button and then putting delete text in it but I must be doing something wrong because I can't get a button to show up. Still, I was able to use the click event to delete the row but it feels non standard and takes up a column.  I would think you could have a row n

Anyone have any information on how to best go about it?

Joe G

unread,
Aug 3, 2022, 6:19:42 PM8/3/22
to mvd...@googlegroups.com
I tried to use a label+button column type in the grid along with a popup menu but I can't figure out how the popup menus work. I can't find any examples anywhere either.  Anyone know of any?  I tried ATGUISHOW passing the menu id in but as far as I can tell it doesn't do anything.

--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/1f3a13ec-54be-44a5-9584-2990db088786n%40googlegroups.com.

Rex Gozar

unread,
Aug 4, 2022, 12:00:17 PM8/4/22
to mvd...@googlegroups.com
No, there isn't a standard way to delete a row in AccuTerm GUI.

A common UI convention is to have a button or icon on the row, where the user clicks it to delete the row. Another is to use a popup context menu. I've used both.

YouTube has some videos regarding AccuTerm GUI grids:

https://www.youtube.com/watch?v=zGBFMs91Xic

https://www.youtube.com/watch?v=htPcOf2MKAA

Pete Schellenbach

unread,
Aug 4, 2022, 3:42:39 PM8/4/22
to Pick and MultiValue Databases
Joe - take a look at the sample program 'GRID.TUTOR'. It uses a popup menu on right-click to allow you to delete a row from a grid.

Thanks, Pete

Joe G

unread,
Aug 4, 2022, 10:18:21 PM8/4/22
to Pick and MultiValue Databases
Thanks for the help Rex and Pete.  I ended up using the button with the ellipsis.  I thought it didn't work because I couldn't see it. The cell has to have the focus for it to show up. Once I figured that out I was able to use it.  I think I had a really old version of the GRID.TUTOR. I updated our AccuTerm programs and I can see the popup examples now.

Thanks Again!

Reply all
Reply to author
Forward
0 new messages