🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.open-look
Article #2804

Re: XView: How to setup list_item?

#2804
From: Frank Greco
Date: Tue, 26 Jan 1993 16:47
26 lines
1619 bytes
> Hello, I am using ADD_STRING attribute in list_item to update its contents.
                    ^^^^^^^^^^

	Do you mean PANEL_LIST_STRING?  There is no attribute called "ADD_STRING"
	that I know of.

> The problem is that this process is displayed on the screen so that the
> screen flashes until all the items have been added. Does anyone know
> how to (1) hide the process from display until it is finished then dump
> the new list_item on to the screen; (2) use ADD_STRINGS attribute to
> creat a list_item with variable number of list strings? (The standard
> ADD_STRINGS, str1, str2, NULL, does not work because the number of strings
> can only be determined at running time).

	(1) See XV_SHOW.  Set XV_SHOW to false, update the list, set XV_SHOW
	to true.  Reduces flicker and speeds up the whole insertion.

	(2) PANEL_LIST_STRING takes a row-number so you can install them
	one at a time.  If you want to dynamically construct an "arg list",
	then see XVPM 25.2.2.1 "Attribute Lists within Attribute Lists".

	Both of these are/should-be in the OPEN LOOK FAQ.  These questions
	get more requests than Quarter-Pounders at McDonalds (being PC here
	with Clinton-gastronomics).

	Frank G.
Technical Details
Message-ID: <a5eawc@openlook.Unify.Com>
Path: arc1-ca.pugleaf.net!sparky!uunet!tcsi.com!iat.holonet.net!news.cerf.net!usc!howland.reston.ans.net!spool.mu.edu!olivea!gossip.pyramid.com!pyramid!unify!openlook!openlook-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!tcsi.com!iat.holonet.net!news.cerf.net!usc!howland.reston.ans.net!spool.mu.edu!olivea!gossip.pyramid.com!pyramid!unify!openlook!openlook-request
From: fgreco@shearson.com (Frank Greco)
Newsgroups: comp.windows.open-look
Subject: Re: XView: How to setup list_item?
Message-ID: <a5eawc@openlook.Unify.Com>
Date: 26 Jan 93 16:47:01 GMT
Sender: news@Unify.Com
Lines: 26