Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageFrames and ActiveControl
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
PageFrames and ActiveControl
Divers
Thread ID:
00760087
Message ID:
00760087
Vues:
55
Hi all,

I must be loosing my mind or something. I cannot seem to retrieve a reference to the page if the pages have been reordered.

I use an ON KEY LABEL to fire the following:

************************************************************************
FUNCTION ToolClick
*******************
LPARAMETER lcBand,lcButton

ACTIVATE SCREEN
loPage = goHelp.oViewer.Pages[goHelp.oViewer.ActivePage]
? loPage.PageOrder, goHelp.oViewer.Pages[loPage.PageOrder].Name, goHelp.oViewer.ActivePage, loPage.Name

*goHelp.oToolBar.Click(goHelp.oToolBar.Bands(lcBand).Tools(lcButton))

RETURN

When this fires it works correctly for 'non-reordered' pages, but for any re-ordered pages I get the wrong page name returned.

Any ideas what's going on here?

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform