Why do you want the callback invoked when the form is open? With a popup
list, the list itself is not supposed to be visible until the user taps the
trigger. The draw function only gets called when the system needs to draw
the popped up list.
Mark Peters
Vidya Amar [EMAIL PROTECTED] wrote in
for the
clarification.
Vidya.
From: Mark A. Peters [EMAIL PROTECTED]
Reply-To: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Subject: Re: Popup list callback function not being called...urgent help
needed
Date: Thu, 12 Jun 2003 14:15:58 -0700
Why do you want
Hi All,
I have a popup trigger attached to a list which is created from a
database by a callback function
(LstSetDrawFunction) in the MainFormInit routine.
I have pre-set the label for the popup trigger
to be the 1st choice in the list when the form opens.
Problem:- The callback
callback function not being called...urgent help needed
Hi All,
I have a popup trigger attached to a list which is created from
a
database by a callback function
(LstSetDrawFunction) in the MainFormInit routine.
I have pre-set the label for the popup trigger
to be the 1st choice
Rodolphe,
Yes, I tried the following to set the no. of items in the list.
Still the callback function is not being called when the form opens.
LstSetListChoices(List, NULL, n);//n is set from the no. of records in the
database
LstSetDrawFunction(List, MainListDraw);