IBCQuery.ReadOnly & Refresh

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
marcodor
Posts: 29
Joined: Tue 29 Oct 2013 20:30

IBCQuery.ReadOnly & Refresh

Post by marcodor » Wed 03 Jun 2015 14:57

Why if IBCQuery.ReadOnly is true, Refresh button on DBNavigator is disabled?
It should allot to refresh dataset how many times you want, why deny this?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: IBCQuery.ReadOnly & Refresh

Post by ViktorV » Thu 04 Jun 2015 12:53

This behavior is the functionality of TDBNavigator, not IBDAC.
The Refresh button of the TDBNavigator component is enable only if the corresponding dataset is editable. We can't influence this behavior. So, if you set ReadOnly = True, then the Refresh button will be enable.

Post Reply