Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove a Page in A Pageframe
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Remove a Page in A Pageframe
Miscellaneous
Thread ID:
00825178
Message ID:
00825178
Views:
58
Hi all,

I want remove pages in a pageframe If the Page 's caption begins with "Page".
My code is not correct because all the pages aren't removed.
LOCAL oPage,;
  cvName

WITH THIS.Pageframe
*-- Aie La page 4 becomes Page3 ! And the page4 page6 aren't removed !
   FOR EACH oPage IN .OBJECTS
       cvName = UPPER( oPage.CAPTION )

      .REMOVEOBJECT(  cvName )
   ENDFOR
Thanks in advance For the help

bernhart
Next
Reply
Map
View

Click here to load this message in the networking platform