I did explain it, see my previous message.
Is it really not clear still?
Kind regards,
Caveat
On 19/12/13 16:32, Rolf-Werner Eilert wrote:
> You are right, I now did it the old way with separate buttons.
>
> But I'm still interested in seeing how this would work, so if someone
> could explain...
You are right, I now did it the old way with separate buttons.
But I'm still interested in seeing how this would work, so if someone
could explain...
Regards
Rolf
Am 19.12.2013 14:04, schrieb Caveat:
> Looks like you have to use (at least) Activate (OK) and Cancel (Errrm
> Cancel!)... pffft
On Thu, 2013-12-19 at 11:36 +0100, Rolf-Werner Eilert wrote:
> Just saw that File Chooser can have its own OK and Cancel buttons, but
> how would I handle these events? Never used it before, and there is no
> hint in the help...
>
> Regards
> Rolf
>
I really didn't it could be that hard?
B
Looks like you have to use (at least) Activate (OK) and Cancel (Errrm
Cancel!)... pffft seems simpler the way I had it! ;-)
Public Sub FileChooser2_Cancel()
Print "Cancel fired"
End
Public Sub FileChooser2_Activate()
Print "Activate fired!"
End
Kind regards,
Caveat
On 19/12/13 13:11
Ok, I see.
You activate this by Show Button = True in the form dialog. The help
says "Return or set if the standard ../../dialog buttons ('OK' and
'Cancel') are visible or not."
And this doesn't help me a lot... ;)
Rolf
Am 19.12.2013 12:48, schrieb Caveat:
> I have a pbDone and a pbCancel bu
I have a pbDone and a pbCancel button on my form. I'm guessing that if
you are using the File Chooser's built-in OK/Cancel buttons (where have
you found that and how are you enabling that ??) that you will have to
handle them in a similar way... so making a new File Chooser As ... if
from code
pbDone_Click()
Where does that come from?
Am 19.12.2013 12:15, schrieb Caveat:
> And here's the code from the form containing the File Chooser...
>
> Having sent you all this, I realise it perhaps doesn't really answer
> your question (sorry!) but perhaps there's enough in here about raising
>
Am 19.12.2013 12:15, schrieb Caveat:
> Raise Done(FileChooser2.SelectedPath, fileNumber)
Aaah - that was the one I was looking for! :) Thank you!
Rolf
--
Rapidly troubleshoot problems before they affect your business.
And here's the code from the form containing the File Chooser...
Having sent you all this, I realise it perhaps doesn't really answer
your question (sorry!) but perhaps there's enough in here about raising
and handling events that it becomes clear how to use the OK and Cancel
events from the Fi
Hi Rolf
I put the File Chooser on its own form and handled the events from my
main form...
You can ignore the FORM_LEFT, FORM_RIGHT stuff... that was just for the
fact this code comes from a program that opens and compares 2 files...
so I just needed to keep track of which one was being chosen.
Just saw that File Chooser can have its own OK and Cancel buttons, but
how would I handle these events? Never used it before, and there is no
hint in the help...
Regards
Rolf
--
Rapidly troubleshoot problems before they
11 matches
Mail list logo