FrmCopyLabel wants an ID, not an index - try passing it SetupP1Label...
Gavin. Grosch, Scott <[EMAIL PROTECTED]> wrote in message news:98245@palm-dev-forum... > > I've called FrmInitForm() in preparation for calling FrmDoDialog(). > > Inbetween those calls I've now added the following: > > l1 = FrmGetObjectIndex(dlg, SetupP1Label); > FrmHideObject(dlg, l1); > FrmCopyLabel(dlg, l1, "Some string"); > FrmShowObject(dlg, l1); > > The call to FrmCopyLabel() causes an error saying that object #11 > in form 1300 is missing. Object 11 is the label I've grabbed above. > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
