Thread View: comp.windows.open-look
1 messages
1 total messages
Started by Frank Greco
Tue, 26 Jan 1993 16:47
Re: XView: How to setup list_item?
Author: Frank Greco
Date: Tue, 26 Jan 1993 16:47
Date: Tue, 26 Jan 1993 16:47
26 lines
1619 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads