Normal Topic Custom Menu @HideTreeItem error (Read 667 times)
jyellis
Full Member
Members
***
Offline


No personal text

Posts: 114
Location: Dallas-Fort Worth Area
Joined: May 19th, 2003
Custom Menu @HideTreeItem error
Jun 5th, 2006 at 4:08pm
Print Post Print Post  
Using the example from Dec 2004 Inside S.  I can't get this to compile.  I get an error on the first @HideTreeItem line.
The code is in the application property manager
The error is:
Error while parsing module "Application (0)"
Expression Expected.
Line 5, position 27, lexical error

Code
Select All
Var vTree as INT
var vHideTree as INT

// Hide all Tree Items at Application Menu Level
vHideTree = @HideTreeItem(“FitEval!Forms”)
vHideTree = @HideTreeItem(“FitEval!Application
Utilities”)

// Open Main Menu
vTree = @SelectTreeItem("FitEval!Forms!Add Data!FitEval!Cust_Menu”)

//Set the Custom Menu to be the default form
SetDefaultTab(“Add Data Cust_Menu”) 



My tree looks like this:
FitEval
  Forms
     FitEval
        Cust_Menu




  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Custom Menu @HideTreeItem error
Reply #1 - Jun 5th, 2006 at 4:23pm
Print Post Print Post  
Hello jyellis,

From Inside Sesame - http://www.insidesesame.com

Quote:
Inside Sesame programming examples may contain styled quotes. If these are present, you'll get an error when you Test the program. You'll need to replace these styled quotes with the plain straight quotes the Program Editor requires.

    Sesame doesn't like slanted (styled) quotes: “SomeValue″
    Sesame likes plain straight quote marks: "SomeValue"

To convert any styled quotes to plain quotes in the Program Editor:

   1. Copy one styled opening quote to the clipboard.
   2. Open the Program Editor’s Search | Replace box.
   3. Paste (Ctrl-V) the styled opening quote into the Find field.
   4. Type a plain quote (") in the Replace field.
   5. Click Replace All.

Follow the same steps to replace any styled closing quotes with plain quotes.

Retest the program to make sure there are no further errors.


-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
jyellis
Full Member
Members
***
Offline


No personal text

Posts: 114
Location: Dallas-Fort Worth Area
Joined: May 19th, 2003
Re: Custom Menu @HideTreeItem error
Reply #2 - Jun 5th, 2006 at 4:42pm
Print Post Print Post  
Thanks!!!!


  
Back to top
 
IP Logged