Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CBaseForm.ReFreshToolBar()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00466772
Message ID:
00467000
Vues:
9
Robert,

The parameter being passed to the Refresh method is optional. In the code you are looking at, the parameter is not being utilized, but you could call This.RefreshToolBar() with the parameter and it would work properly. Here is what VFP Help says about the Refresh method:

Refresh Method

Repaints a form or control and refreshes any values, or refreshes a project’s visual display.

Syntax

[Form.]Object.Refresh

-or-

Project.Refresh([lUpdateSCCStatus])

Arguments

lUpdateSCCStatus

For a project, specifies if the source control status for each file under source control is updated. If lUpdateSCCStatus is true (.T.), the source control status for each file in the project under source control is updated. If lUpdateSCCStatus is false (.F.) or omitted, the source control status for each file isn’t updated. lUpdateSCCStatus is ignored if no files in the project are under source control.

Kind Regards,

Mat



>Kevin et all,
>
>Looking at the cBaseForm.RefreshForm method it calls the ReFreshToolBar method of the form. The call is
>
>*-----------------------------------------------
>*-- If this form is using a toolbar, refresh it
>*-----------------------------------------------
>This.RefreshToolBar()
>
>
>In the RefFreshToolBar the code is:
>
>LPARAMETERS tcFileStatus
>IF TYPE("this.oToolbar") == "O" AND !ISNULL(this.oToolbar)
> this.oToolbar.Refresh(tcFileStatus)
>ENDIF
>
>
>How does this work? tcFileStatus is undefined as far as I can determine.
>
>
>Thanks
>
>Bob
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform