General information
Category:
Forms & Form designer
Thanks Vlad, I can us the .pageframe.activepage = .pageframe.activepage to set the page display back to normal, but you see the whole page image move up then down.
It is definately the DynamicBackColor that causes the problem, as once removed everything is OK. The line of code in the dynamicBackColor is
IIF(warning = 'Y',RGB(174,255,174),IIF(active='N',RGB(255,193,193),RGB(255,255,255)))
Thanks once again
Doug Johnston
>>Hi,
>>
>>I have a 4 page pageframe each page contains a grid. On page 1 I have the main grid with about 12 text boxes and two buttons.
>>Sometimes when page1 is activated the whole contents of page 1 are drawn about 1/4 of an inch higer than it should be, leaving a 1/4 inch white band at the bottom of the page.
>>
>>Any ideas on what is causing this.
>>
>>This did happen some time ago, so I deleted the grid and re-created and all was well unti today. The grid contains 13 columns and 2 IIF statements in the DynamicBackColor. It does seem that it could be the DynamicBackColorn that may be causing this problem.
>>
>>I really don't want to spend the time to re-create the grid if I can avoid it.
>>
>>Regards
>>Doug Johnston
>
>Doug,
>-Search for a lockscreen (with DynamicBackColor probably in BeforeRowColChange it was locked and added code to AfterRowColChange overrides default code)
>-If there are shape objects and form is a toplevel than it might be related with a known VFP6 bug (corrected in VFP7).
>-Also try
>pageframe.ActivePage = pageframe.ActivePage
>as a refresh method.
>
>Cetin
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only