If a popTrigger's associated list only has one item in it, is the popTrigger
still supposed to display the little drop-down "arrow" (the black triangle)?
With 1 item in the associated list, I still get the little black arrow --
that is not acceptable. Am I doing something wrong here, or is this a
design flaw in the popTrigger control?
In the case of the former, here's a quick snippet that looks kind of like
what I do to initialize the popTrig to a list. This won't work right if
this is an empty list, but I wanted to spare the details. What am I failing
to do?
// Initialize the list:
ListPtr pList = (ListPtr) GetObjectPtr( wListID );
ControlPtr pTrig = (ControlPtr) GetObjectPtr( wTrigID );
LstSetListChoices( pList, myStrings, sNumStrings);
LstSetHeight( pList, sNumStrings );
CtlSetLabel( pTrig, LstGetSelectionText( pList, 0)); //default label =
string 0
In the case of the latter, any suggestions? I'm thinking of just disabling
the popTrigger and its associated list and showing a hidden field right on
top of the popTrigger.
Thanks,
-Jeff Ishaq
The Windward Group