Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OnWriteBuffer
Message
From
04/02/1999 12:52:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
OnWriteBuffer
Miscellaneous
Thread ID:
00183958
Message ID:
00183958
Views:
56
Hello,
I have onwritebuffer method which checks for follwing.
loControl = _screen.activeform.currentcontrol
If type ('loControl') = 'O'
loControl.SetFocus()
endif

problem is in my form. I have form with two pages. one page is entry page and second page is list page. while user enters data on entry page and when he clicked on list page , if data is unsaved i want to issue warning.
for this in the page 2 activate i am checking first writebuffer and then checking for changed data stuff.

but writebuffer does not give proper results because at that time there is no activecontrol on the form is available. so even if data is changed it shows that data has not changed and allows to see list page. pl. advise how this currentcontrol works and any alternative for onwritebuffer method ?
thankyou
john still
Next
Reply
Map
View

Click here to load this message in the networking platform