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 


[resolved] DIALOG CREATE bug?

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon Aug 09, 2004 9:11 am    Post subject: [resolved] DIALOG CREATE bug? Reply with quote

Anyone else noticed this? If the dialog style CLASS is the first style parameter to be specified, it seems to be ignored and the dialog has the default class name TVDSDialog. I can't see why this should be happening, but since it apparently does, it's necessary to work around the error by placing some other style like SAVEPOS before it. I have a gut feeling there might be a connection between this and why the order of the RUN command parameters WAIT and PIPE may be important when they aren't supposed to be...
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Aug 09, 2004 10:26 am    Post subject: Reply with quote

I don't seem to have any problems with it... Confused What does this code return to you?

Code:
  DIALOG CREATE,Just some dialog to test...,-1,0,240,160,CLASS testdialog
  DIALOG SHOW

wait event

info @winclass(@dlgtext())

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon Aug 09, 2004 10:35 am    Post subject: Reply with quote

You're quite right: the apparent error was due to some conditional code resulting in the dialog being created by a different line than the one I was looking at. Embarassed
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    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