Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

class method property

Status
Not open for further replies.

PeriyurParthi

IS-IT--Management
Jul 18, 2001
258
IN
i)how to create a class method and property for a grid control. i need following options in it
1.add
2.delete
3.select [(popup help) for this option combo box is been used to list all the items.]
ii) how to add a other controls in grid control , like combo box ,list box etc.
thanks
parthi

 
general2000

1. Adding data directly to a grid is possible, but not as easy to implement as adding data through a data entry form.

1. Delete can be as simple as showing the .DeleteMark property in the grid. However it's also best to have a MESSAGEBOX([Are you sure etc]) to prevent accidental deletion

3. Afraid don't understand the question

3. Try FAQ184-426

If you want to save this grid as a class, once have finished developing it, left click on it, click on the File menu, click on Save as class and follow the dialogue.

Chris :)
 
If you want to add properties and methods to your grid class, open your grid class in the class designer and choose Class\Edit method/properties.

If you used a foxpro base class that you dropped on a form, you will have to add your methods to your form by going into the form designer and choose form/Edit method/properties.

In this way you can add methods and properties to your classes.

HTH,
Weedz (Wietze Veld)
My private project:And especially for VFP rookies:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top