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 


Check box to turn off info boxes

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


Joined: 16 Sep 2002
Posts: 105

PostPosted: Mon Sep 30, 2002 1:25 pm    Post subject: Check box to turn off info boxes Reply with quote

if @file("C:\WINDOWS\Winfile.exe")
RUN "C:\WINDOWS\Winfile.exe"

REM Need a check box on main dialog window that will stop the next two REM lines from running

Info Windows 98 "WinFIle" Program BLAH BLAH BLAH!
Info Windows 98 "WinFIle" Program BLAH BLAH BLAH!

ELSE
Info Windows 98 "WinFIle" Program not installed or not in expected directory!
END
goto Main_evloop

ALL FEED BACK WELCOMED

Mike
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Sep 30, 2002 1:47 pm    Post subject: Reply with quote

Shouldn't be too hard. Add a check box dialog element to your program and then check for the status of it before executing those 2 lines.

Something like

Code:
  rem Checkbox named chkbox
  if @null(@dlgtext(chkbox))
    rem Not checked: run those lines
    info BLA-BLA
    info BLA-BLA2
  end


Greetz
Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
noveltech
Contributor
Contributor


Joined: 16 Sep 2002
Posts: 105

PostPosted: Wed Oct 02, 2002 8:44 pm    Post subject: Thank You Reply with quote

Thank you Dr. Dread

Works very fine!
Back to top
View user's profile Send private message
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