Author Topic: Changes in _form source not reflected when form displayed  (Read 22212 times)

Aaron

  • Guest
When I make changes to the source of a form, later when that object is displayed my changes are not reflected.  I am using version 7.0.1.  Any ideas as to what is going on?

Graeme

  • Senior Community Member
  • Posts: 2832
  • Hero Points: 348
Re: Changes in _form source not reflected when form displayed
« Reply #1 on: June 26, 2006, 09:22:51 PM »

I don't have version 7 but ...

How long have you been using this particular form?
Have you been able to change the form successfully before?
Has anything changed on your system recently e.g. new operating system.
Have you tried unloading and reloading the form?
If you change the associated source file do the changes work?

Have you tried starting a new config directory to see if it works there - use -sc switch on the command line that invokes slickedit, then copy over your forms and macro files and rebuild them.  To copy over a form, use macro menu, then "insert form or menu source".  You probably need to add #include "vslick.sh" at the top of the form file.  Then you could check if the design time view of your form agrees with what you see now.

Graeme

Graeme

  • Senior Community Member
  • Posts: 2832
  • Hero Points: 348
Re: Changes in _form source not reflected when form displayed
« Reply #2 on: June 27, 2006, 10:46:11 AM »

It sounds like there's a reasonable chance starting a new config directory and state file will solve the problem.  Copying your settings etc from your old config to a new one can be a bit of a challenge but it's a good way to get a clean start, especially if you've been "experimenting" with macros.

You might be able to achieve the same thing more easily by deleting your state file but I've never tried that.  Either way, you can reload the settings that are kept in vusrdefs.e just by entering the full path and name of vusrdefs.e on the slick command line (with quotes around the pathname if it has spaces in it) and pressing return.  You could probably make a full copy of your existing config directory, then try deleting the state file etc. and if it doesn't work out, restore the config directory.  I guess you'll need to save all your forms and menus in source form first if you haven't already.

Graeme

Graeme

  • Senior Community Member
  • Posts: 2832
  • Hero Points: 348
Re: Changes in _form source not reflected when form displayed
« Reply #3 on: June 27, 2006, 10:34:31 PM »

Nope, you wouldn't have to do this every time you changed the form - just once, to see if the problem goes away.  I was thinking that something had got confused within your state file (vslick.sta) and the best way to fix it is to start a new one.  If you're usng unix, the file corresponding to vusrdefs.e is vunxdefs.e I think.  Search for "vslick.ini" in the help and look for a topic called "User configuration files".

Didi the problem you're having just suddenly start happening or have you always had this problem when doing form development with vslick 7?

Graeme