You may be thinking about DoEvents . I'd be careful with it though.
--- In [email protected], "HouseDad" <[EMAIL PROTECTED]> wrote:
>
>
>
> In modifying an older program, I have run across an instance where
in
> the middle of a LOOP I need to stop and monitor a LISTBOX and deal
> with users selecting stuff in the listbox, doing some other stuff,
> then continuing the loop again when finished.
>
> I seem to remember a command that did something like this. I can't
> remember what it is and am having trouble finding it in my books.
>
> So far all I can think of is to set a BOOLEAN value in this sort of
> fashion:
>
> do while boolean=true
> doevents
> loop
>
> This could possibly let me execute event code like LISTBOX_CLICK
> until I set the boolean=false, but I am sure I remember reading
about
> another way to do it...
>
>
> Also, I wanted to mention to all of you that have helped me,
> especially a year ago when I really needed it (worse), Shawn, Matt,
> Don, Ian, and others I can't recall off-hand, thanks. I hope I
> haven't scared you off with my verboseness. I know you guys know
> what you're doing so I don't even bother with other groups. Even
if
> you just give me a link or something it helps.
>
> You probably can't tell from my recent posts, but those past
projects
> were very successfull and I might even be able to get a "real" job
> programming some day. I just never learned the "right" way to do
it,
> mainly due to never having any real training (unless you count
pascal
> in high school, GWBASIC, and quick basic) so a lot of my questions
> are elementary, although my coding prowess isn't necessarily so
> (LOL). I wish I could dictate the time contraints for a project
> (ie. "Sure I can do that, $50/hr, 10hrs minimum, more if I need
it!),
> but unfortunately I find myself getting a project done in the hours
I
> am told to have it done, which doesn't really allow me much room
for
> the "professional" touches you guys suggest. I think my boss is
> starting to understand when it takes as long to "straighten up" a
> program as it did to initially write it maybe he should give me
some
> more time, or at least warn me a little sooner when he needs a
> particular program.
>
> Anyway, because of your help, my programs are replacing the
software
> my company has been leasing and I am saving them lots of money,
> although I don't get any of it, but at least I can say I did it.
>
> Thanks to you.
>
> [C]
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [email protected]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/