Hi Fabio,
It didn't work. It still doesn't display all the controls sometimes. Is there any way by which VFP can be forced to refresh and repaint the form thoroughly?
TIA,
Hitendra
>
>I have some forms with grid, combo and many textboxes. Many a times when the form is displayed, some controls, generally the textboxes and comboboxes dont get displayed. Minimise and maximise the application or ALT-TAB to any other open application and come back and all the controls are now displayed.
>
>I tried lots of stuff with Form.Refresh(), Form.Show(), Lockscreen settings, SetAll("Visible") etc but there is no difference in behaviour. What can I do, besides minimising the application at run time, to resolve this?
>>
>try this:
>
>thisform.width=m.thisform.width+1
>thisform.width=m.thisform.width-1
>
>
>Fabio