Article View: borland.public.delphi.database
Article #98Re: Looking for data-aware button with multiple data-sources
From: Gordon Lee
Date: Mon, 21 Jul 2003 08:21
Date: Mon, 21 Jul 2003 08:21
45 lines
2755 bytes
2755 bytes
Hello Helmut, Let me clarify. The button has a set of boolean properties to disable it. They are related to the button's datasources' states, like 'BOF', 'EOF', 'empty', 'editing' and so on. Then, for example, we set the button's 'empty' and 'editing' disabling properties to true; set its multiple 'datasources' properties (datasource1, datasource2, ...) to 3 different datasources (e.g. a master, its details and subdetails). During run-time, if one of the datasources is either empty or under editing, that button will be disabled until all the datasources are neither empty nor under editing (e.g. after the master, its details and subdetails have at least one record input and saved by the user). The main idea is to ease the handling of en/disabling a data-aware button. Please let me know if it is still not clear or there are other workarounds. Thanks, Gordon "Helmut W�ss" <h.woess@iis-edv.at> wrote in message news:<3f18fec4$0$25096$91cee783@newsreader01.highway.telekom.at>... > this doesn't make sense for me. If you have two datasources > and one is eof and the other on top, what state should the button have? > You can change the data source of the button during runtime, but > never have more than one data source assigned at the same time. > So i am sure there is no component with this "feature". > > bye, > helmut > > "Gordon Lee" <gordon_lee_email@yahoo.com> schrieb im Newsbeitrag > news:8af57a36.0307180104.4d42774a@posting.google.com... > > Hello, > > > > I am looking for such kind of components. They can also be > > automatically enabled/disabled according to the states of the > > data-sources, like BOF, EOF, empty, read-only, editing, > > updates-pending, etc. Does anyone know where to get them? > > > > Thanks, > > > > Gordon
Technical Details
Message-ID:
<8af57a36.0307210021.367751b8@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailReferences:
<8af57a36.0307180104.4d42774a@posting.google.com> <3f18fec4$0$25096$91cee783@newsreader01.highway.telekom.at>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 115d96,f4bbe35c54e429ca X-Google-Attributes: gid115d96,public X-Google-ArrivalTime: 2003-07-21 01:21:53 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: gordon_lee_email@yahoo.com (Gordon Lee) Newsgroups: borland.public.delphi.database Subject: Re: Looking for data-aware button with multiple data-sources Date: 21 Jul 2003 01:21:53 -0700 Organization: http://groups.google.com/ Lines: 45 Message-ID: <8af57a36.0307210021.367751b8@posting.google.com> References: <8af57a36.0307180104.4d42774a@posting.google.com> <3f18fec4$0$25096$91cee783@newsreader01.highway.telekom.at> NNTP-Posting-Host: 202.130.82.195 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1058775713 4351 127.0.0.1 (21 Jul 2003 08:21:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 21 Jul 2003 08:21:53 GMT