Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe/grid redraw problem
Message
De
09/02/2002 18:00:18
 
 
À
09/02/2002 17:58:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00617832
Message ID:
00617922
Vues:
23
Cetin, I apologise for refering to Vlad in my previous reply, I had just been reading one of his posts and the name stuck.

Doug Johnston

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform