Print Page | Close Window

List Dialog Box Sample

Printed From: Rocket Software
Category: AccuTerm Knowledge Base (read only)
Forum Name: Code Samples
Forum Description: Share your code samples and discuss the bundled sample programs
URL: https://forum.asent.com/forum_posts.asp?TID=2659
Printed Date: February 02 2023 at 3:01pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: List Dialog Box Sample
Posted By: PSchellenbach
Subject: List Dialog Box Sample
Date Posted: November 14 2017 at 5:13pm
Here is a sample GUI project that implements a list box as a GUI dialog. This is similar to the ATLISTBOX sample program which uses VBA scripting. But instead of VBP it uses AccuTerm GUI and gives you much more control. A user asked how you could type a line number to select an item in ATLISTBOX, and you cannot. But this sample displays the line number in the first column of the list box, and the automatic selection of items based on keyboard input does exactly what the user was looking for. Feel free to modify for your own use. The zip file contains 3 files. In the GUIBP directory are a test program, TEST.LIST.DIALOG, and the GUI dialog subroutine, LIST.DIALOG. In the GUIAPPS directory is the GUI project LIST.DIALOG.

uploads/3/listdialog.zip" rel="nofollow - uploads/3/listdialog_2017-11-17_16-57-39.zip" rel="nofollow - uploads/3/listdialog_2017-11-17_16-57-39.zip

Thanks,

Pete




Replies:
Posted By: dale kelley
Date Posted: November 17 2017 at 4:04am
Pete,
Thanks for the LIST.DIALOG stuff.  The contents of GUIAPPS came out to be the BASIC code instead of the template.
Dale


-------------
dwk


Posted By: PSchellenbach
Date Posted: November 17 2017 at 9:58am
I have uploaded a new zip file. This one should be correct.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net