| View previous topic :: View next topic |
| Author |
Message |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Apr 07, 2003 8:00 pm Post subject: @WINDOW() Function does not highlight |
|
|
The @WINDOW() function doesn't highlight in VDS 4.5.
Is this true for everyone else? _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Mon Apr 07, 2003 8:06 pm Post subject: |
|
|
Yep at least in VDS 3.51... VDS has always had problems with this function and it's siblings at least I have always had to fool around with them before they would start working the way I wanted them to.
Can you post us some code with an example of your problem? _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Apr 07, 2003 8:10 pm Post subject: |
|
|
I'm not sure if it's really a problem but I was looking at functions I don't
regularly use and found the bug:
| Code: | | %A = @WINDOW(%B,child) |
The @WINDOW does not highlight in bold black etc. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Mon Apr 07, 2003 8:13 pm Post subject: |
|
|
Actually I don't know if the @window() function was supposed to highlight anything? I thought it's only use was to return a window ID/handle. Sorry I didn't catch onto your first post about it. I thought you were refering to the "WINDOW ACTIVATE" command.... _________________ Home of
Give VDS a new purpose!

Last edited by vdsalchemist on Mon Apr 07, 2003 8:16 pm; edited 1 time in total |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Apr 07, 2003 8:15 pm Post subject: |
|
|
Oops I think you misunderstood: I mean in the IDE it does not highlight.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Mon Apr 07, 2003 8:19 pm Post subject: |
|
|
| FreezingFire wrote: | Oops I think you misunderstood: I mean in the IDE it does not highlight.  |
Oh ok nevermind. Have you tried to add it with the shelper.exe which should be in your Visual DialogScript folder? _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Mon Apr 07, 2003 8:21 pm Post subject: |
|
|
Damn that alcohol eh?
No highlight here in 4.5 either. _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Mon Apr 07, 2003 8:26 pm Post subject: |
|
|
Nevermind,
I just tried the shelper.exe and it does not work either. _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Apr 07, 2003 8:32 pm Post subject: |
|
|
Ooh. I wouldn't do that if I were you. Once I added REM to it to try it out
and I ended up having to delete all of my preferences because all of the
sourcecode highlighting went away. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Mon Apr 07, 2003 8:41 pm Post subject: |
|
|
Ok I found a fix for ya.
Open the file shelper.sem in a text editor like notepad... Find this line
| Code: | '@WINEXISTS' _dont_care_ pt_FUNCTION [ss_PARAMS]
|
Goto the end of the line and hit the enter key to make a empty line below the above line. Then add this line.
| Code: | '@WINDOW' _dont_care_ pt_FUNCTION [ss_PARAMS]
|
Now the @WINDOW function will highlight in your VDS IDE. If you don't have the shelper.sem file then run shelper.exe at least once and add the @WINDOW function name to its list. After that you should see the shelper.sem file. If not then go back into shelper.exe and click the reset button. But the line above has to be in the shelper.sem file for the highlight to work.
At least it is working for me but use this at your own risk  _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
Posted: Mon Apr 07, 2003 8:45 pm Post subject: |
|
|
I was actually able to just run shelper and add it in and it highlights now.
Was my first time running shelper though, this install anyway.. _________________ -Sheep
My pockets hurt... |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Apr 07, 2003 8:46 pm Post subject: |
|
|
Ahhh. Good work there. Looks like SADE forgot that line. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
|