>i useto put a calender to my form with vfp5 like
>i drage the calender to myform
>i put textbox at myform (date)
>i write at calender(on clik) thisform.text1.value=this.value.
>how i can do that with vfp8'
The same way. This has not changed since VFP5.
Are you talking of an ActiveX Calendar? (like MS Calendar Control)
- Open the Tools Menu - Options
- Select the Controls tab and the ActiveX radio button
- Scroll down the list of ActiveX controls that are registered in your PC and check the ones you want (as many as needed)
- Press the "Set as Default" button and press OK to close the Options window
- Open the Form Designer
- Open the Forms Controls Toolbar and click on the "books" (library) icon
- Select ActiveX Controls and you will see the controls you selected.
- Select the one you want and add it to your form
Note that if you use an ActiveX Control you will have to add it to your distribution (in InstallShield) so it gets delivered, installed and registered in the client's PC.
HTH