What's the problem? Are you getting errors? If so, what are they? What are
you trying to do?

george r.

"Madina" <[EMAIL PROTECTED]> wrote in message
news:57389@palm-dev-forum...
>
> Hi,
> This is the code from MemoPad but changed a bit.  I have been using the
code
> for my small application.  I did not want the "private" checkbox for
marking
> secret records and did only the pop up trigger listing wards in the
Details
> form.  I am really bad in coding and if someone could point out the
problem
> here, i would really appreciate it.
>
> static void DetailsInit(void)
> {
>  //ControlPtr ctl;
>  //UInt   attr;
>  //Boolean   secret;
>
>
>  // P11. NewCategory indicates which category wants to changed the
>  // current record to.  Initialize it to the current record's current
>  // category.
>  NewWard = RecordWard;
>  NewWardEdited = false;
>
>  // Get the secret and category attributes of the current record.
>  //DmRecordInfo(EntryDB, CurrentRecord, &attr, NULL, NULL);
>  //secret = attr & dmRecAttrSecret;
>
>  // If the record is marked secret, turn on the secret checkbox.
>  //CtlSetValue(GetObjectPtr(MemoPadDetailsPrivateCheckbox), secret);
>
>  // P11. Set the label of the category trigger.
>  CategoryGetName (EntryDB, RecordWard, WardName);
>  ctl = GetObjectPtr (PatientManagerDetailsWardPopTrigger);
>  CategorySetTriggerLabel (ctl, WardName);
> }
>
> Thanking you all for the help
> Madina
>
>
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to