 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
IvoNovosad Guest
|
Posted: Thu Oct 30, 2003 10:20 am Post subject: n-tier, clientdataset need to show message for user |
|
|
Hi,
I have my own function in clientdataset and sometimes I need to display
dialog for user (yes/no/cancel). How can I do that? I don't want to
place dialogs into clientdataset because clientdataset is db-tier and
message for user is gui-tier. How to do that? - some events of
clientdataset, virtual method or something?
thx
Ivo
|
|
| Back to top |
|
 |
Marcelo Guest
|
Posted: Tue Nov 04, 2003 6:57 am Post subject: Re: n-tier, clientdataset need to show message for user |
|
|
Hi!
Have you considered using callbacks?
Marcelo.
"IvoNovosad" <IvoNovosad (AT) atron (DOT) de> escribió en el mensaje
news:3fa0e5c0 (AT) newsgroups (DOT) borland.com...
| Quote: | Hi,
I have my own function in clientdataset and sometimes I need to display
dialog for user (yes/no/cancel). How can I do that? I don't want to
place dialogs into clientdataset because clientdataset is db-tier and
message for user is gui-tier. How to do that? - some events of
clientdataset, virtual method or something?
thx
Ivo
|
|
|
| Back to top |
|
 |
IvoNovosad Guest
|
Posted: Wed Nov 05, 2003 12:23 pm Post subject: Re: n-tier, clientdataset need to show message for user |
|
|
Did you mean event? Something like OnMessageForUser with var paremeters?
It is possible but i need to show this dialog everytime and i'd like to
have binding code for showing dialog on OnMessageForUser automatically.
It is no problem for clientdatasets placed on the form (i can go through
all clientdatasets by ComponentCount), but how to bind this code(for
showing dialog) with datasets created runtime. I know that
cds.OnMessageForUser = SomeMethodFor ShowingDialog but how to do that
automatically?
thx
Ivo
Marcelo wrote:
| Quote: | Hi!
Have you considered using callbacks?
Marcelo.
"IvoNovosad" <IvoNovosad (AT) atron (DOT) de> escribió en el mensaje
news:3fa0e5c0 (AT) newsgroups (DOT) borland.com...
Hi,
I have my own function in clientdataset and sometimes I need to display
dialog for user (yes/no/cancel). How can I do that? I don't want to
place dialogs into clientdataset because clientdataset is db-tier and
message for user is gui-tier. How to do that? - some events of
clientdataset, virtual method or something?
thx
Ivo
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|