Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie - can't edit recs in grid (The record is read-onl
Message
 
 
To
26/10/2006 14:31:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01164636
Message ID:
01164808
Views:
7
>Here's my object hierarchy:
>
>frsPurchase1 (formset)
> Purchase ( form)
> PageFrame1 (page frame)
> Page1 (page that grid is on)
>
>Page1's ActivateEvent shows as [Default], BUT cannot be modifed.
>The only objects that can have their ActivateEvent modified are the frsPurchase1 (currently [Default]), and Purchase (where I put the code from your prior message).
>
>I'm going to see if there is some other Page1 event where I can stick this latest code you gave me...
>
>Update: actually it looks like NONE of Page1's properties can be changed from their defaults. e.g. It will not even allow me to change Page1's Caption... Maybe because a page frame is being used all rules go out the window?

The first problem is formset. If it's possible to get rid of it, try to get rid of it. Formsets will give you nothing but the troubles. I do now remember what we once had a big problem with formset with my colleague couple of years ago.

I'm not sure why you can not modify the activate method of the page. You should be able to do it even with the formsets, as far as I know.

The only problem you may have is pages name, which you can not change if you use pageframe class with several pages defined inside the class.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform