HighTechTalks DotNet Forums  

logic model for interface control

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss logic model for interface control in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Chris
 
Posts: n/a

Default logic model for interface control - 11-18-2004 , 09:43 AM






Hi,

I hope this is the correct forum for this problem.

I currently have a windows for with 5 command buttons on it.
Each button will execute one DTSPackage a remote server.

Each button can only be pressed in the correct order 1 to 5.
A user cannot skip a step. Beside each button is a checkbox object to
indicate the
progress.

I would like to create a "pattern" or logic model that will succinctly check
what has been done and has'nt been done.

I was thinking of using an array that simply gets updated and some routine
checking logic to determine if a button can execute or if it provides a
message to user.

I also want to use a class for keeping track of the progress.

I can do this but would this by throwing code at it, but would really like
to do it in an elegant manner. Does anyone have any ideas.

thanks

Chris

Reply With Quote
  #2  
Old   
Peter van der Goes
 
Posts: n/a

Default Re: logic model for interface control - 11-20-2004 , 09:12 AM







"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I hope this is the correct forum for this problem.

I currently have a windows for with 5 command buttons on it.
Each button will execute one DTSPackage a remote server.

Each button can only be pressed in the correct order 1 to 5.
A user cannot skip a step. Beside each button is a checkbox object to
indicate the
progress.

I would like to create a "pattern" or logic model that will succinctly
check
what has been done and has'nt been done.

I was thinking of using an array that simply gets updated and some routine
checking logic to determine if a button can execute or if it provides a
message to user.

I also want to use a class for keeping track of the progress.

I can do this but would this by throwing code at it, but would really like
to do it in an elegant manner. Does anyone have any ideas.

thanks

Chris
What about the simple expedient of disabling all but the first button, then
as the user clicks each button, enable the next and disable the one just
clicked? That would give the user only the desired choice at any point in
time.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.