Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids & VCR buttons
Message
From
03/06/1999 09:21:17
 
 
To
03/06/1999 09:03:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00225862
Message ID:
00225894
Views:
16
>Ed:
>
>hierarchy:
>vfp form
>subclasses in baseform ( not change)
>mvForm
>mvEntryForm (where goNext is 1st added as a customer method and contains following code:)
>
>if thisform.UnsavedChanges()
> if ! thisform.UnsavedQuestion()
> RETURN .F.
> endif
>endif
>
>select (thisform.DataTable)
>skip 1
>
>* I expected this statement to update the controls and the grid, but it doesn't.
>thisform.Refresh()
>

As long as the Grid's ControlSource is thisform.Datatable and not a related view, it should be working, as long as the focus is on the form. I've had problems with toolbars when they were accessed when the focus wasn't on a control in the form where I expected, like when a menu was active.

>thisform.SetNavButtons()
>
>SetNavbuttons() enables and disables the VCR buttons. I determine if I'm at the 1st or last and disable buttons appropriately and get back to the record that I just moved to.
>
>
>mvScrollEntryForm (no code in goNext)
>CustomerMaintenance.scx where I put the following code:
>
>dodefault()
>thisform.grdCustomerLookup.Refresh()
>
>Any ideas?
>Mike
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform