forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


@WINDOW() Function does not highlight

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Apr 07, 2003 8:00 pm    Post subject: @WINDOW() Function does not highlight Reply with quote

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
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Apr 07, 2003 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Apr 07, 2003 8:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Apr 07, 2003 8:13 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Apr 07, 2003 8:15 pm    Post subject: Reply with quote

Oops I think you misunderstood: I mean in the IDE it does not highlight. Confused
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Apr 07, 2003 8:19 pm    Post subject: Reply with quote

FreezingFire wrote:
Oops I think you misunderstood: I mean in the IDE it does not highlight. Confused


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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Mon Apr 07, 2003 8:21 pm    Post subject: Reply with quote

Damn that alcohol eh? Wink
No highlight here in 4.5 either.

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Apr 07, 2003 8:26 pm    Post subject: Reply with quote

Nevermind,
I just tried the shelper.exe and it does not work either.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Apr 07, 2003 8:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Apr 07, 2003 8:41 pm    Post subject: Reply with quote

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 Wink but use this at your own risk Rolling Eyes

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Mon Apr 07, 2003 8:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Apr 07, 2003 8:46 pm    Post subject: Reply with quote

Ahhh. Good work there. Smile Looks like SADE forgot that line.
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group