Print Page | Close Window

Grid list box row contents

Printed From: Rocket Software
Category: AccuTerm Knowledge Base (read only)
Forum Name: GUI Development
Forum Description: Help for developers creating GUI applications with AccuTerm
URL: https://forum.asent.com/forum_posts.asp?TID=2566
Printed Date: March 26 2026 at 8:51pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: Grid list box row contents
Posted By: bgblu
Subject: Grid list box row contents
Date Posted: March 10 2016 at 10:00am
I am trying to set the value of a grid row in a column that is defined as a list box.  I can assign every row the column to values using ATGUISETPROP(APP,FRM,GRIDID,GPCOLITEMS,1,0,SV_LIST,ERRORS,STATE)

where 1 is the column, if I change the 0 to a 2 (row id), I can't specify the drop down list contents for row 2 only.  All rows will be updated no matter the number in the row location.
Are grids only capable of having the same items in every row's drop down list?



Replies:
Posted By: Shrek59
Date Posted: March 11 2016 at 12:22am
See this topic:

http://forum.asent.com/different-values-in-dropdown-boxes_topic951.html

Essentially, you populate the appropriate drop-down values once you know what they are (assuming you populate them based on the value of a preceding column). In your case, perhaps the drop-down values are totally based on row (i.e. row 2 always has the same values). In that case, you could use the GEACTIVATEROW event to populate the values.

HTH,

Brian



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