BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

n-tier, clientdataset need to show message for user

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
IvoNovosad
Guest





PostPosted: Thu Oct 30, 2003 10:20 am    Post subject: n-tier, clientdataset need to show message for user Reply with 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
Marcelo
Guest





PostPosted: Tue Nov 04, 2003 6:57 am    Post subject: Re: n-tier, clientdataset need to show message for user Reply with 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...
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





PostPosted: Wed Nov 05, 2003 12:23 pm    Post subject: Re: n-tier, clientdataset need to show message for user Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.