Thanx Fabio,
I'll let you know later whether this worked.
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