|
-
May 6th, 2001, 01:36 PM
#1
Progress bar
I have put a progress bar on seperate form to use as needed. problem is it doesn't show when called and my knowledge of progress bars = nothing, so it don't work. here is code section
frmProgressShow.Show
DoEvents
frmMDISanitation.Hide 'tried to get bar to show
Do Until intRow >= 575 ' to allow for growth...currently 559
If Trim(xlRangeList.Cells.Item(intRow, intCol)) = "*" Then
frmTasks.lstTasksDueThisWeek.AddItem intRow _
& "." & " " & m_objSheet.Cells.Item(intRow, 1)
frmTaskStatus.cboTaskView.AddItem intRow _
& "." & " " & m_objSheet.Cells.Item(intRow, 1)
intRow = intRow + 1
frmProgressShow.prgShowNTell.Value = intRow
DoEvents
Else
intRow = intRow + 1
Debug.Print m_objSheet.Cells(intRow, intCol)
End If
Loop
frmProgressShow.Hide
thanks for looking or helping!
-
May 6th, 2001, 05:17 PM
#2
Re: Progress bar
You are not telling the frmProgressshow to be displayed
Replace your .Hide with thefollowing:
frmProgressShow.SHOW ' Show this form
frmProgressShow.Zorder ' Bring it to the foreground
This will cause Windows to display your Progress bar form
John G
-
May 6th, 2001, 05:36 PM
#3
Re: Progress bar
I always wondered what zorder did, now i know thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|