True DBGrid Pro 6.0 External Editor
Originally Posted 29 March 2005, 1:31 am EST
- Post Options:
Originally Posted 29 March 2005, 1:31 am EST
Hi,
Is there any documentation for or samples for the IExternalEditor interface for TrueDBGrid Pro 6.0?
I'm looking into this as a way of implementing a Dropdown combo (text entry of new items or select from existing - TDBDropDown doesn't seem to support this?).
I'm a little concerned that I can't find any documentation for the parameters for:
IExternalEditor.FormatText what does var mean? pBstr is presumably the data?
IExternalEditor.OnTDBGMessage(Message As Integer) - message is a member of what enumeration? or means what?
IExternalEditor.SetTabAction(TabAction As Integer) - TabAction is presumably a member of TrueOleDBGrid60.TabActionConstants?
Any feedback or assistance gratefully received
Hamish- Post Options:
Reply
This is a multi-part message in MIME format.
---=_vger5424c6035
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Okay, I've made some progress with this (see attached).
I'm still a little confused though.
If you uncomment the debug.print statements in the IExternalEditor interface methods, you get something like this:
IExternalEditor_GetHwndEditor
IExternalEditor_SetData
IExternalEditor_GetHwndEditor
IExternalEditor_OnTDBGMessage
IExternalEditor_OnTDBGMessage [Message = '0']
IExternalEditor_OnTDBGMessage
IExternalEditor_OnTDBGMessage [Message = '12']
IExternalEditor_OnTDBGMessage
IExternalEditor_OnTDBGMessage [Message = '1']
IExternalEditor_SetTabAction::2
IExternalEditor_OnTDBGMessage
IExternalEditor_OnTDBGMessage [Message = '273']
IExternalEditor_SetTabAction::2
IExternalEditor_OnTDBGMessage
IExternalEditor_OnTDBGMessage [Message = '10']
IExternalEditor_PositionWindow
IExternalEditor_SetDataBuf
IExternalEditor_SetModified
IExternalEditor_SetCaret
IExternalEditor_ShowWindow
IExternalEditor_SetCaret
IExternalEditor_PositionWindow
IExternalEditor_ShowWindow
IExternalEditor_HideWindow
IExternalEditor_HideWindow
IExternalEditor_OnTDBGMessage
IExternalEditor_OnTDBGMessage [Message = '11']
Now, I don't know what the messages 0, 12, 1, 273, 10, and 11 are trying to tell me or how I supposed to respond.
I do know that under no circumstances have I had the TrueDBGrid control call the IExternalInterface interface methods related to whether or not data has changed or that read the data out of the control.
I've had to force an update to the active cell in the grid on the Validate event from the external editor control which given that the interface includes methods with names like GetModified and GetData seems a little strange.
Am I doing something wrong or is only one half of the interface expected to be used by the TrueDBGrid control?
Another slight issue is with scrolling (not demonstrated in the attached sample). When the grid scolls the visible cells during an external editor's activity, the external editor is not closed and the external editor is not repositioned. It's going to be pretty tough for the external editor control to calculate the new position of the cell it was over and whether or not it should still be visible.
Any input gratefully received.
Hamish
---=_vger5424c6035- Post Options:
Reply
Well, I tried to integrate the (mostly) working code from the previous post into our app and the behaviour of the grid is somewhat different. It now seems to generate some of the 'missing' events from the previous sample app, but a bit too early. It seems to query the GetModified and then call HideWindow immediately after it has shown the window. The thing is never made visible and allowed to be edited. What am I doing wrong?
This is the sequence of events that I get:
IExternalEditor_GetHwndEditor::ColIndex:3,hwnd:1246826
IExternalEditor_OnTDBGMessage [Message = '0']
IExternalEditor_OnTDBGMessage [Message = '12']
IExternalEditor_OnTDBGMessage [Message = '1']
IExternalEditor_SetTabAction::2
IExternalEditor_OnTDBGMessage [Message = '273']
IExternalEditor_SetTabAction::2
IExternalEditor_OnTDBGMessage [Message = '9']
IExternalEditor_SetData
IExternalEditor_SetDataBuf
IExternalEditor_SetModified
IExternalEditor_PositionWindow
IExternalEditor_SetCaret
IExternalEditor_ShowWindow
IExternalEditor_GetModified
IExternalEditor_GetDataLen
IExternalEditor_GetDataBuf
IExternalEditor_HideWindow
IExternalEditor_HideWindow
IExternalEditor_OnTDBGMessage [Message = '11']
but there is no period inbetween ShowWindow and GetModified where the control is visible and able to be interacted with.
How is this interface supposed to be used?- Post Options:
Reply
Allen,
Thanks. This doesn't really help me though. Yes I agree that I should upgrade to version 8 but have no budget for this and no time within current schedule to evaluate impact on our app of this upgrade.
The sample that you have given me shows using a TrueDBInput component as an external editor? I don't have a license for TrueDBInput and am not going to be able to purchase one for this project.
I suppose the sample at least lets me check the property settings that I am using for the column I want the external editor in.
What I was really after was any information you can provide on implementing the IExternalEditor interface and what the weird and wonderful messages that the grid generates are all about and how I'm supposed to handle them (why the grid seems to call different bits of the interface under different circumstances is also a little puzzling).
Thanks anyway
Hamish- Post Options:
Reply
This is a multi-part message in MIME format.
------=_NextPart_000_002A_01C539D9.CC7B5B50
Content-Type: multipart/alternative;
boundary='----=_NextPart_001_002B_01C539D9.CC7B5B50'
------=_NextPart_001_002B_01C539D9.CC7B5B50
Content-Type: text/plain;
charset='iso-8859-1'
Content-Transfer-Encoding: quoted-printable
Hello Hamish,
What I can understand is that you want to use the External interface for =
TrueDB Grid. I am attaching a sample project, which uses the TDBDate =
control as an external editor. I do not have a sample project in version =
6 of TDB Grid, however I am attaching a sample project made with version =
8 of grid. You may download the evaluation copy of TDB Grid version 8 =
from the link below
http://download.componentone.com/pub/ActiveX/tdbgrid8/Evaluations/tdbgrid=
8_T105.exe
Please also note that it is highly recommended that one upgrades from =
older versions to version 8.0 as ComponentOne would not be releasing any =
further builds of the older version any more. All bugs/errors prevalent =
in older versions would now be taken care of only in the new builds of =
version 8.0 in case they are prevalent with version 8.0.
Regards,
Allen
'Hamish' wrote in message =
news:424a1d86$1@vger5.componentone.com...
>=20
> Hi,
> Is there any documentation for or samples for the IExternalEditor =
interface for TrueDBGrid Pro 6.0?
>=20
> I'm looking into this as a way of implementing a Dropdown combo (text =
entry of new items or select from existing - TDBDropDown doesn't seem to =
support this?).=20
>=20
> I'm a little concerned that I can't find any documentation for the =
parameters for:
>=20
> IExternalEditor.FormatText what does var mean? pBstr is presumably the =
data?
>=20
> IExternalEditor.OnTDBGMessage(Message As Integer) - message is a =
member of what enumeration? or means what?
>=20
> IExternalEditor.SetTabAction(TabAction As Integer) - TabAction is =
presumably a member of TrueOleDBGrid60.TabActionConstants?
>=20
> Any feedback or assistance gratefully received
> Hamish
>
------=_NextPart_001_002B_01C539D9.CC7B5B50
Content-Type: text/html;
charset='iso-8859-1'
Content-Transfer-Encoding: quoted-printable
charset=3Diso-8859-1'>
Hello Hamish,
size=3D2>
What I can understand is that you want =
to use the=20
External interface for TrueDB Grid. I am attaching a sample =
project, which=20
uses the TDBDate control as an external editor. I do not have a sample =
project=20
in version 6 of TDB Grid, however I am attaching a sample project made =
with=20
version 8 of grid. You may download the evaluation copy of TDB Grid =
version 8=20
from the link below
size=3D2>
href=3D'http://download.componentone.com/pub/ActiveX/tdbgrid8/Evaluations=
/tdbgrid8_T105.exe'>face=3DArial=20
size=3D2>http://download.componentone.com/pub/ActiveX/tdbgrid8/Evaluation=
s/tdbgrid8_T105.exe</A>
size=3D2>
Please also note that it is highly =
recommended that=20
one upgrades from older versions to version 8.0 as ComponentOne would =
not be=20
releasing any further builds of the older version any more. All =
bugs/errors=20
prevalent in older versions would now be taken care of only in the new =
builds of=20
version 8.0 in case they are prevalent with version 8.0.
Regards,
Allen
'Hamish' <href=3D'mailto:hamish.smith@tait.co.nz'>size=3D2>hamish.smith@tait.co.nz</A>size=3D2>> wrote in=20
message face=3DArial=20
size=3D2>news:424a1d86$1@vger5.componentone.comface=3DArial=20
size=3D2>...>
> =
Hi,
> Is=20
there any documentation for or samples for the IExternalEditor interface =
for=20
TrueDBGrid Pro 6.0?
>
> I'm looking into this as a way of=20
implementing a Dropdown combo (text entry of new items or select from =
existing -=20
TDBDropDown doesn't seem to support this?).
>
> I'm a =
little=20
concerned that I can't find any documentation for the parameters =
for:
>=20
> IExternalEditor.FormatText what does var mean? pBstr is =
presumably the=20
data?
>
> IExternalEditor.OnTDBGMessage(Message As Integer) =
-=20
message is a member of what enumeration? or means what?
>
> =
IExternalEditor.SetTabAction(TabAction As Integer) - TabAction is =
presumably a=20
member of TrueOleDBGrid60.TabActionConstants?
>
> Any =
feedback or=20
assistance gratefully received
> =
Hamish
>
------=_NextPart_001_002B_01C539D9.CC7B5B50--
------=_NextPart_000_002A_01C539D9.CC7B5B50
<p><a hr- Post Options:
Reply
This is a multi-part message in MIME format.
------=_NextPart_000_000D_01C53E98.3D086A80
Content-Type: text/plain;
charset='iso-8859-1'
Content-Transfer-Encoding: quoted-printable
Hi Allen
I Am using The lastest version Of ComponentOne (8.0.20042.329)
When I run your example, the external editor will be shown until I move =
cursor into bind Column.
My problem is. Why external editor not Hidden or be Invisible? Is this a =
bug for Componentone?
I would be thankfull if you reply me as soon as possible.
Hamedi
'AllenS[C1]' wrote in message =
news:4252351f@vger5.componentone.com...
Hello Hamish,
What I can understand is that you want to use the External interface =
for TrueDB Grid. I am attaching a sample project, which uses the TDBDate =
control as an external editor. I do not have a sample project in version =
6 of TDB Grid, however I am attaching a sample project made with version =
8 of grid. You may download the evaluation copy of TDB Grid version 8 =
from the link below
=
http://download.componentone.com/pub/ActiveX/tdbgrid8/Evaluations/tdbgrid=
8_T105.exe
Please also note that it is highly recommended that one upgrades from =
older versions to version 8.0 as ComponentOne would not be releasing any =
further builds of the older version any more. All bugs/errors prevalent =
in older versions would now be taken care of only in the new builds of =
version 8.0 in case they are prevalent with version 8.0.
Regards,
Allen
'Hamish' wrote in message =
news:424a1d86$1@vger5.componentone.com...
>=20
> Hi,
> Is there any documentation for or samples for the IExternalEditor =
interface for TrueDBGrid Pro 6.0?
>=20
> I'm looking into this as a way of implementing a Dropdown combo =
(text entry of new items or select from existing - TDBDropDown doesn't =
seem to support this?).=20
>=20
> I'm a little concerned that I can't find any documentation for the =
parameters for:
>=20
> IExternalEditor.FormatText what does var mean? pBstr is presumably =
the data?
>=20
> IExternalEditor.OnTDBGMessage(Message As Integer) - message is a =
member of what enumeration? or means what?
>=20
> IExternalEditor.SetTabAction(TabAction As Integer) - TabAction is =
presumably a member of TrueOleDBGrid60.TabActionConstants?
>=20
> Any feedback or assistance gratefully received
> Hamish
>
------=_NextPart_000_000D_01C53E98.3D086A80
Content-Type: text/html;
charset='iso-8859-1'
Content-Transfer-Encoding: quoted-printable
charset=3Diso-8859-1'>
Hi Allen
I Am using The lastest version Of =
ComponentOne=20
(8.0.20042.329)
When I run your example, the external =
editor will=20
be shown until I move cursor into bind Column.
My problem is. Why external editor not =
Hidden or be=20
Invisible? Is this a bug for Componentone?
I would be thankfull if you reply me as =
soon as=20
possible.
Hamedi
style=3D'PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px'>
'AllenS[C1]' < =
href=3D'mailto:support@componentone.com'>support@componentone.com</A>>=
wrote=20
in message =
href=3D'news:4252351f@vger5.componentone.com'>news:4252351f@vger5.compone=
ntone.com</A>...
Hello Hamish,
size=3D2>
What I can understand is that you =
want to use the=20
External interface for TrueDB Grid. I am attaching a sample =
project,=20
which uses the TDBDate control as an external editor. I do not have a =
sample=20
project in version 6 of TDB Grid, however I am attaching a sample =
project made=20
with version 8 of grid. You may download the evaluation copy of TDB =
Grid=20
version 8 from the link below
size=3D2>
=
href=3D'http://download.componentone.com/pub/ActiveX/tdbgrid8/Evaluations=
/tdbgrid8_T105.exe'> face=3DArial=20
=
size=3D2>http://download.componentone.com/pub/ActiveX/tdbgrid8/Evaluation=
s/tdbgrid8_T105.exe</A>
size=3D2>
Please also note that it is highly =
recommended=20
that one upgrades from older versions to version 8.0 as ComponentOne =
would not=20
be releasing any further builds of the older version any more. All =
bugs/errors=20
prevalent in older versions would now be taken care of only in the new =
builds=20
of version 8.0 in case they are prevalent with version =
8.0.
Regards,
Allen
'Hamish' < href=3D'mailto:hamish.smith@tait.co.nz'> size=3D2>hamish.smith@tait.co.nz</A>size=3D2>> wrote in=20
message face=3DArial =
size=3D2>news:424a1d86$1@vger5.componentone.com face=3DArial size=3D2>...> =
>=20
Hi,
> Is there any documentation for or samples for the =
IExternalEditor=20
interface for TrueDBGrid Pro 6.0?
>
> I'm looking into =
this as a=20
way of implementing a Dropdown combo (text entry of new items or =
select from=20
existing - TDBDropDown doesn't seem to support this?).
> =
> I'm a=20
little concerned that I can't find any documentation for the =
parameters=20
for:
>
> IExternalEditor.FormatText what does var mean? =
pBstr is=20
presumably the data?
>
> =
IExternalEditor.OnTDBGMessage(Message As=20
Integer) - message is a member of what enumeration? or means =
what?
>=20
> IExternalEditor.SetTabAction(TabAction As Integer) - =
TabAction is=20
presumably a member of TrueOleDBGrid60.TabActionConstants?
> =
>=20
Any feedback or assistance gratefully received
> =
Hamish
>=20
</BLOCKQUOTE>
------=_NextPart_000_000D_01C53E98.3D086A80--
<p><a hre
Apex True dBgrid Pro v6.0e
About True DBGrid Pro
Add powerful data bound grids to your application.
Apex True DBGrid Pro v.6.0 merupakan component yg dibutuhkan di Visual Basic 6. Silahkan Download disini. (via Uptobox) Size: 4.36 MB. Apex True DBGrid Pro v.6.0 merupakan component yg. APEX True DBGrid Pro 6.0. Developed by APEX Software Corporation. 4.5 (2 votes ) APEX Software Corporation. Review Comments (2) Questions & Answers (2) Update program info. No specific info about version 6.0. Please visit the main page of APEX True DBGrid Pro on Software Informer. Oct 26, 2009 True DBGrid Pro. True DBGrid Pro allows end users to browse, edit, add, and delete data in a tabular format. True DBGrid Pro completely manages the database interface, allowing developers to concentrate on important application-specific tasks. True DBGrid Pro can also be used in unbound or storage mode with a programmer's own data source.
True DBGrid Pro allows end users to browse, edit, add, and delete data in a tabular format. True DBGrid Pro completely manages the database interface, allowing developers to concentrate on important application-specific tasks. True DBGrid Pro can also be used in unbound or storage mode with a programmer's own data source. True DBGrid Pro allows end-users to browse, edit, add, and delete data in a tabular format. True DBGrid includes dozens of advanced data access, data presentation, and UI features.
True Dbgrid Pro 6.0 Free Download
True DBGrid Pro Features:
Additional 3D effects New 3D effects allow mouse-over elements to take on a 3D appearance.
Automatic column sizing The new SpringMode allows you to keep your data viewable by resizing columns proportionally whenever the grid is resized horizontally.
Multiple lines per record The cells in a single record can now span multiple lines, making all columns visible.
Alternating row formats Enhances the readability of the grid's display by applying different styles to even and odd numbered rows.
Built-in that can be modified as needed, and Inverted Mode repositions rows as columns to provide a convenient 'read down' format.
Customizable row and column borders This feature lets you alter the appearance of a cell by creating a border.
Tag property This property allows you to attach any type of object to a column.
Even better keyboard navigation Control the relative position of the next cell, by using the new DirectionAfterEnter property, when users press the Enter key.
More print options True DBGrid Pro 8.0 includes enhanced print options, such as additional zoom and print preview capabilities, to give you full control over printing.
Bi-directional language support True DBGrid Pro includes support for both right-to-left and left-to-right languages.
FilterBar data entry row Implement custom end-user operations, such as incremental search and recordset filtering, with an easy-to-use interface.
Native integration with True DataControl Instantly add powerful data access and manipulation capabilities!
Expanded Styles Expanded styles in True DBGrid Pro 8.0 let you customize row, column and cell borders using new appearance, size, color, and type properties.
Automatic grid cell translation to True DBDropDown values Connect a TDBDropDown control to a table containing a value and representation. The dropdown will automatically map the representation to the value.
Outlook-Style Grouping Dynamically reordering or grouping of grid columns.
Animation The animation properties allow you to control the style, duration, and direction of an animation affect when the DropDown, In-Cell Combo, or Cell Tips are opened and closed. NOTE: These properties are only available in Windows 98 and NT 5.0.
BatchUpdate True DBGrid Pro 8.0 (OLE DB only). This property allows the user to explicitly specify that the grid must or must not call update.
Native ADO and OLE DB support True DBGrid Pro 8.0 contains two OCX controls, an ICursor version (for connecting to the Microsoft Remote Data Control and the VB5 and VB6 intrinsic data controls), and an OLE DB version (for connecting to OLE DB and ADO compatible data sources, such as the ADO data control included in VB6). The two OCXs are functionally identical, differing only in the data access methods supported.
Multi-column sorting and searching An enhanced XArray object allows multi-column sorting and searching using up to ten columns as sort keys.
Auto Sizing True DBGrid Pro 8.0 will allow you to specify auto-sizing for a specific column or split in code.
Merge contiguous like-valued cells True DBGrid Pro gives you the ability to merge like-valued cells of a column into a single cell.
OLE drag and drop Drag and drop content from an application to the grid.
OwnerDrawCell Render graphics and text in grid cells using Windows API functions.
Enhanced styles Background and transparent bitmaps can be displayed within the cells of a grid, split, or column.
Attach bitmaps Bitmaps can be attached to headers, footers, and record selectors.
Asynchronously downloadable layouts Initialize True DBGrid Pro on an HTML page.
Unbound columns Supports unbound columns while other columns are bound.
Standard Windows push button display and event handling True DBGrid Pro 8.0 permits event handling for push button display of column headers, footers, and data cells.
Per-row, per-column, per-cell refresh and refetch methods These methods allow you to repaint or refetch data for an individual cell, column, or row.
In-cell editing using an external OCX Use an external OCX as the grid's in-cell editor.
Tree view property pages It is easy to view, navigate, and edit True DBGrid Pro properties for the grid, as well as its splits, columns, and style collections.
AutoDropDown property True DBDropDown or the built-in combo can be set to open automatically when the user types into a cell.
Export to HTML files True DBGrid Pro can be used in server-side applications to display formatted tables containing query result sets.
Migration Utility Migrate projects from the True DBGrid Pro 7.0, True DBGrid Pro 6.0, True DBGrid Pro 5.0, True DBGrid 4.0, or DBGrid to True DBGrid Pro 8.0.
Reusable grid layouts Grid layouts can be saved to a file, then reused in other projects. Multiple layouts can be stored in a single grid at design time, then loaded as needed in code. End-user layout preferences can also be saved to a file, then recalled the next time the application is run.
Input masking Input templates similar to Visual Basic format strings can be assigned to columns in order to reduce end-user data entry errors.
Drop-down multiline text editor Optionally drop down a multiple line text control for editing large fields in a cell.
Drop down any control from a cell Supports arbitrary drop-down controls, including combo boxes, list boxes, or any third-party control.
Drag and drop cell contents Supports drag-and-drop operations on a per-row or per-cell basis.
True Dbgrid 6.0 Free Download Download Software
DOWNLOAD NOW !