Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any success?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00570543
Message ID:
00570629
Vues:
21
> 1. For pagination of the table, if I go to next page and drill down to the
> data entry form and when I return how can I return to that page. Any property
> storing the page no?

The table object that ships with the base package doesn't support this natively. However, you could just pass along a query string that identifies the record.

Example: Let's say you want to navigate to a page called X.voodoo that hosts the grid, and you want to navigate to the 25th record. You can do so like so:
THIS.Page.Navigate("X.voodoo?Recno=25")
In the actual table object, you can then look for this parameter and simply move the record pointer.

As I said: This is not behavior we support natively in this object. The extended package will feature a much more powerful grid control...

> 2. How does the createevent works? I would like to write some formatting
> jscript but no exanple showing this.

The key here is to keep in mind that at the end of the day, all Voodoo creates is HTML. So you can simply add any HTML you want using the Write() and WriteTop() methods:
THIS.Write("...script goes here...")
The control creators documentation, which is due for release this fall, will describe these kinds of things in detail...

> 3. No pageframe example. An example showing common window screen like a list
> in page 1 with page 2 as detail will be great.
LOCAL loPage
loPage = CreateObject("WCPage") && substitute the page for your platform here...
loPage.AddObject("pgf1","WebPageFrameContainer")
loPage.pgf1.AddObject("page1","WebPageContainer")
loPage.pgf1.AddObject("page2","WebPageContainer")
At this point, you can add objects to the pages in the same manner you would add objects to a form...

>4. How to add a new button in the toolbar?

See the following help topic:
http://www.eps-software.com/knowledgebase/voodoo/_0H10EEKOW.htm

Basically, you either subclass the toolbar and add your objects there, or you simply call the AddObject() method on the toolbar and add your buttons this way...

> I hope someone can asnwer this so that we poor folks not in US who cannot go
> to the Great Lakes can do some nice work with Voodoo...

We will post some whitepapers on the Voodoo site just after that workshop, which will be accessible to you also...

Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform