Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid controls not Refreshing
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00134965
Message ID:
00134972
Views:
11
>>I have a grid containing a pageframe which contains two pages, on each page there is a grid containing one or more combo boxes in their columns (i.e. one combo per column ), I issue a this.refresh() from the init of the form, but only the controls on page one are refreshed.
>>
>>In the refresh event (in my base class pageframe) resides this code
>>
>>for i = 1 to this.pagecount
>>this.pages[i].refresh()
>>endfor
>>
>>so the call is being made, it just doesn't refresh the comboboxes, I've placed wait windows in the refresh events and they don't fire on the second page
>
>Have you tried refreshing the grids directly?

Bruce,
yes I have, it seems to refresh textboxes and the like but not combos which is my problem, I have always been under the impression that all objects contained in a container are refreshed by the containers refresh method, the behaviour I'm trying to produce is ; if a form setting = 'whatever' then disable/enable a control by calling its' refresh method, in the base class refresh event of all my controls is contained the following code

this.readonly = thisform.mode = 'VIEW'
or
this.enabled = thisform.mode # 'VIEW'
Thanks for youe reply
Pete Kane
Regards,
Peter J. Kane



Pete
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform