|
-
May 4th, 2000, 06:51 PM
#1
Thread Starter
Hyperactive Member
Me.caption = "what ever the files are"
Can anyone tell me how to popup a dialog that will do the above in a dialog ?
Regards
-
May 4th, 2000, 07:13 PM
#2
Frenzied Member
Code:
MsgBox "Your Text Here"
is that what you mean?
-
May 4th, 2000, 08:06 PM
#3
Thread Starter
Hyperactive Member
dialog
No not really, i'm contiuosly copying separate files so it would need updated each time
-
May 4th, 2000, 08:29 PM
#4
transcendental analytic
You have to design your own dialog then, either as a simple form with borderstyle changed to something limiting, or by designing an activeX that operates a form on your command.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
May 4th, 2000, 08:52 PM
#5
Thread Starter
Hyperactive Member
dialog
Whats the fragment code to do this please..?
-
May 4th, 2000, 09:08 PM
#6
Fanatic Member
Well Well Well.
If it isn't gsc1ugs. Back to copying questions again.
Make a new form, called for example "frmDialog". Set the borderstyle = 4 (fixed toolwindow)
Basically this is just a poxy little dialog box now. I don't know how you are copying your files, but this should give you a general idea.
Code:
frmDialog.Show
For Each FileBeingCopied
frmDialog.Caption = FileBeingCopied.Name
DoEvents
copy (FileBeingCopied)
Next
Unload frmDialog
[Edited by Iain17 on 05-05-2000 at 03:19 PM]
Iain, thats with an i by the way!
-
May 4th, 2000, 09:42 PM
#7
Thread Starter
Hyperactive Member
dailog
Bit simpler please VB a new thang too me
-
May 4th, 2000, 09:43 PM
#8
Thread Starter
Hyperactive Member
dialog
It s the centre of the dialog i wnat to change not the caption..
-
May 4th, 2000, 10:01 PM
#9
Fanatic Member
Right well make Form like i said in my last post and place a label in the middle. Call it lblMessage for now.
Code:
'show the dialog form
frmDialog.Show
'this is the loop where you are copying files.
For Each FileBeingCopied
'show the name of the file being copied on the
'frmDialog label.
frmDialog.lblMessage.Caption = FileBeingCopied.Name
DoEvents
'how ever you copy your file.
copy (FileBeingCopied)
Next
'unload the dialog Form
Unload frmDialog
Iain, thats with an i by the way!
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
|