|
-
Oct 6th, 2000, 04:41 PM
#1
Thread Starter
Lively Member
In the common dialog, how do you retrieve the value of the checkbox for readonly? Also, where would I find information about what flags are available? Thanks.
-
Oct 6th, 2000, 04:56 PM
#2
_______
<?>
commondialog1.flags = cdlOFNReadOnly
to get information if you are using VB6 you put the control on the form, select it and hit F1
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Oct 6th, 2000, 05:29 PM
#3
Thread Starter
Lively Member
If _______=unchecked then
msgbox "Not in readonly mode"
elseif ______=checked then
msgbox "Readonly mode"
end if
What would I put in ________, which is the name for the readonly checkbox in the common dialog for open. Thanks.
-
Oct 6th, 2000, 05:36 PM
#4
_______
<?>
Code:
If CommonDialog1.Flags <> cdlOFNReadOnly Then
MsgBox "Not in readonly mode"
ElseIf CommonDialog1.Flags = cdlOFNReadOnly Then
MsgBox "Readonly mode"
End If
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Oct 6th, 2000, 06:18 PM
#5
Thread Starter
Lively Member
The code from above doesn't work right. If the flag was set and the checkbox was changed during the open, it doesn't reflect the change. Need more help. Thanks.
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
|