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 


Dynamic Run time Labels

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Thu Jun 26, 2003 6:33 am    Post subject: Dynamic Run time Labels Reply with quote

Is it possible to add variables to labels eg:

:%%23Menu

I tried this but at run time %%23 is not replaced by the value of the variable but read as %%23Menu and i get the error label not found.
Is there a alternative becuse one cannot assign a name different from that is visible in a menu in vds unlike VB.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Thu Jun 26, 2003 6:44 am    Post subject: Runtime Reply with quote

Hi,

I think you have the same problem like me - multilingual software and MENU Events will have the translated name.

I got it running with Parsing the events.
If the Event ends with MENU, I parse the name of it outside
and compare it with my language-file. Then I get the "real" name
of the MENU and can goto the event.

Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Fri Jun 27, 2003 11:32 am    Post subject: Reply with quote

Parsing I never (tried to) understand.
I instead added a errortrap and at the label i used @substr to get constant initial letter and redirected it to corresponding label. I dont know if this is a bad way of doing it.
Thanx for U help.Smile

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
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 -> General Help 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