delphi - Progress bar before main form -
i have written application scans network populates listbox information, discovery process takes little while complete expected because number of network devices have; display sort of progress bar let users know network being scan have no idea how that, can guys please point me in right direction? thinking creating small form dynamically , populate progress bar lost @ point. thank you.
you question implies network scanning taking place first thing when program launches instead of when user clicks button on form, in formcreate event. if you're doing, might consider putting network scanning code thread , launching thread when main form starts. way, users see form , can send form progressbar or status updates thread.
an easier way put timer on form , in formcreate or formactivate start timer. timer's ontimer event start network scanning , there can update progressbar or send status messages listbox or whatever.
Comments
Post a Comment