ithey may be valid but check that frmP really points to form where is
ToolbarGadget. maybe you used this frmP temporarily somewhere else....
and check if there is no typo in name of gadget
i use extended gadgets a lot and i never noticed any problem which wouldn't be
my bug at the end
Tam Hanna wrote:
Hello Folks,
currently testing a Palm Os app, and made the unfunny discovery that
assigning an extended gadget a handler dies with the message
form.c, line 2172, invalid index
The code line that's affected is this:
FrmSetGadgetHandler(frmP,FrmGetObjectIndex(frmP,ToolbarGadget),(void*)toolba
rGadgetHandler);
I have already checked the control ID and the pointer, and they all are
valid. Nevertheless, the app dies whenever the call runs..
Anyone have any ideas?
Best regards
Tam Hanna
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/