Results 1 to 4 of 4

Thread: CMonthCalendarPromt

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    6,404

    Default CMonthCalendarPromt

    In the help, for RC1, the examples don't compile as written.

    Code:
    Prompt_Object property  as follows:
    
    Use cMonthCalendarPrompt.pkg
    :
    Object oDateFormTest is a Form
        Set Location to 16 89
        Set Size to 13 66
        Set Label to "Date Select Test:"
    
        Set Prompt_Object to oMonthCalendarPrompt
        Set Prompt_Button_Mode to PB_PromptOn
    End_Object
    oMonthCalendarPrompt is not defined as a global object.

    I'd expected that down in the bottom of cMonthCalendarPrompt.pkg

    would be:

    Code:
     
    
    #IFNDEF oMonthCalendarPrompt 
    Object _MonthCalendarPrompt is a  cMonthCalendarPrompt
      Global_Integer  oMonthCalendarPrompt
      Move (self) to oMonthCalendarPrompt 
    End_Object 
    
    #ENDIF
    or something.

    Plus when I did all that, i get no popup. ??
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  2. #2
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    6,404

    Default Re: CMonthCalendarPromt

    Also, cMonthCalendar is not in my Class Palette
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  3. #3
    Join Date
    Nov 2008
    Location
    Round Rock, TX
    Posts
    7,645

    Default Re: CMonthCalendarPromt

    Hi Michael,

    the help error is in the Use statement, it should be:
    Code:
    Use MonthCalendarPrompt.dg

  4. #4
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    6,404

    Default Re: CMonthCalendarPromt

    Well, that makes a pretty big difference!

    Thanks.
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •