01-29-2008, 05:17 PM
Is it possible to include an excel block as a control in a dialog ?
I am looking to create an editable grid...
I am looking to create an editable grid...
Editable grid control, like Excel, in a dialog
|
01-29-2008, 05:17 PM
Is it possible to include an excel block as a control in a dialog ?
I am looking to create an editable grid...
01-29-2008, 05:28 PM
Possible if you have Office ActiveX controls installed. An example is in one of recent forum topics.
Also there are many grid controls on the Internet. I tried several free controls in the past. Some are ActiveX controls, some not. Inside QM I use a grid control that I created using SysListView32 as base control. Several are used in Options, one in accessible object event logging dialog. Supports editing, check boxes, combo boxes, buttons. It also can be used in macros, but not in exe.
01-29-2008, 05:34 PM
There is a freeware com SCGrid. Looks nice. I was unable to load it into a dialog.
Can you please show me a barebone dialog with this component. I will take it on from there. Much appreciated !
01-29-2008, 05:46 PM
\Dialog_Editor At first register it using the type libraries dialog or some other method.
01-29-2008, 05:54 PM
I registered the control in Windows but keep getting "cannot load type library" in QM ??
Also, if I use the .ocx path and typelib it, then LoadFromArray shows as an invalid function.
01-29-2008, 06:04 PM
The code is for scgrid version 13.8. Your scgrid version is 4.1. It also does not have LoadFromArray function. But 13.8 grid also is much bigger - 868 KB. If you want to use 4.1, replace the type library declaration and remove LoadFromArray line.
01-30-2008, 06:14 AM
Well...I was able to get my hands on ver 6.01 which has LoadFromArray.
So, I am able to display/edit the grid and capture events now. Just a quick question on the same : 1. Which function of this control will display the column titles...they come up just blank 2. There is a font member function in it. How do I assign a font that I create using the following : ;/
01-30-2008, 08:22 PM
10-28-2008, 04:23 AM
Where to get SCGrid 13.8???
10-28-2008, 06:39 AM
Download current version and replace the typelib line. Should work.
|
« Next Oldest | Next Newest »
|