[EMAIL PROTECTED] wrote:
>The list shows up without even having to draw the form.
>I am sure it's being drawn somehow, wether by FrmPopupForm of >FrmDoDialog,
>which internally call FrmDrawForm (eventually).
At least, I'm not drawing it explicitly.
newFrmPtr = FrmNewForm(9000, NULL, 70, 20, 50, 50, false, 0, 0, 0);
if (newFrmPtr)
{
voidP = newFrmPtr;
err = LstNewList(&voidP, 3333, 70, 20, 50, 50, stdFont, 3, 3456);
listPtr = (ListType *)FrmGetObjectPtr((FormType *)voidP,
FrmGetObjectIndex((FormType *)voidP, 3333));
if
(listPtr)
{
//set list choices using LstSetListChoices
listItem = LstPopupList(listPtr);
}
}
Maybe, this is working when it's not supposed to.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/