Roger -- here's an example of a gap in the available APIs. AFAIK, there's no way to toggle a list usable/unusable without directly accessing its members. ----- Original Message ----- From: Chris Antos <[EMAIL PROTECTED]> Newsgroups: pilot.programmer.gcc Sent: Saturday, April 03, 1999 12:48 PM Subject: Re: Multiple lists in same form > start out with all the list resources set to non-usable. > > to show: > plst->attr.usable = 1; > LstDrawList(plst); > > to hide: > LstEraseList(plst) > plst->attr.usable = 0; > > > Roger -- here's an example of a gap in the available APIs. AFAIK, there's > no way to toggle a list usable/unusable without directly accessing its > members. > > > > Kim M�lgaard <[EMAIL PROTECTED]> wrote in message > news:nKrQTTdf#[EMAIL PROTECTED]... > > I have a need to be able to dynamically switch between different list > > ressources in the same form. > > I have 5 different lists in the same position on the same form, and i > would > > now like to switch between these displaying one of the lists at a time. > > > > Now how to do that ?? > > > > I have tried the FrmShowObject and FrmHideObject calls but these does > > nothing as far as I can see. > > I can display the first list correctly and get it to respond, but when > > switching lists with LstDrawList i get the correct list displayed but it > > does not respond. > > > > Any good ideas would be much appriciated. > > > > TIA > > > > Kim M�lgaard > > [EMAIL PROTECTED] > > > > If responding directly please remove nospam from sender address.
