Apex True DBGrid

Apex True DBGrid

Post by Ladislav Sediv » Mon, 28 Oct 1996 03:00:00



True DBGrid ver. 4.0d (build 4.0.0130) has just been posted on our FTP
site.  More information available at:

http://www.apexsc.com

downloads:
ftp://ftp.apexsc.com/pub/ocx/

Lac

--
Ladislav Sedivy
http://rabbit.apexsc.com

 
 
 

Apex True DBGrid

Post by Jurewicz » Wed, 30 Oct 1996 04:00:00


I have some code from my EDIT-DELETE menu item that ends with:
...
ElseIf TypeOf Screen.ActiveControl Is CSComboBox Then
    Screen.ActiveControl.Value = ""
   ' I want to emulate: CSComboBox1_Change
* Call Screen.ActiveControl_Change *
End if

Is there a way to call a control's CHANGE() event using this code?  I've
tried everything but can't figure it out.

 
 
 

Apex True DBGrid

Post by Jurewicz » Wed, 30 Oct 1996 04:00:00


How can I use Screen.ActiveControl to call one of the current control's
event procedures?  For example:
...
ElseIf TypeOf Screen.ActiveControl Is CSComboBox Then
    Screen.ActiveControl.Value = ""
    ' In the next line, I want to emulate:  Call CSComboBox1_Change
    Call Screen.ActiveControl_Change
End if

Obviously, the last line of this code doesn't work.  I've tried everything
but can't figure it out.  Any ideas?

John

 
 
 

Apex True DBGrid

Post by Matthew L Donova » Thu, 31 Oct 1996 04:00:00


I believe you would have to have the actual name of the control. The event
procedure names are CtlName_Event, and VB will not resolve the
ActiveControl into a name to give you the correct syntax for calling the
event.

                                                Matt



Quote:> I have some code from my EDIT-DELETE menu item that ends with:
> ...
> ElseIf TypeOf Screen.ActiveControl Is CSComboBox Then
>     Screen.ActiveControl.Value = ""
>    ' I want to emulate: CSComboBox1_Change
> * Call Screen.ActiveControl_Change *
> End if

> Is there a way to call a control's CHANGE() event using this code?  I've
> tried everything but can't figure it out.

 
 
 

Apex True DBGrid

Post by Jurewicz » Sat, 02 Nov 1996 04:00:00


I know this is question does not have one good answer, but I was wondering
how long it takes to compact larger databases (20MB+).  I realize it
depends on how "fragmented" they are, but what are some best/worse case
scenarios that you've run in to?

The reason I'm asking is that I'm debating whether to have my app's
database compact everytime upon startup.  Should I avoid this?

Thank you!  John

 
 
 

Apex True DBGrid

Post by Alan Queste » Sat, 02 Nov 1996 04:00:00



>I know this is question does not have one good answer, but I was wondering
>how long it takes to compact larger databases (20MB+).  I realize it
>depends on how "fragmented" they are, but what are some best/worse case
>scenarios that you've run in to?

The frequency of compacting would depend more on how many record deletions are being done. If you
are mainly appending new records, searching, querying, and only occassionally deleting records,
there is not as much need for compacting. If you are making many deletions, the size of your files
will grow quickly without compacting frequently.
 
 
 

Apex True DBGrid

Post by Mr. Michael J. Schloss » Wed, 06 Nov 1996 04:00:00


At first glance, it looks like you would need to use a Select Case on
the control name.
But if all your comboboxes had the same name and an index # then you
could use
Call MyComboBox_Change (Screen.activecontrol.index)

This should work.
Mike Schlosser In Seattle, Wa.

 
 
 

1. APEX True DBGrid vs. Sheridan DATA WIDGETS DBGrid

Does anyone out there have experience with one or both of these DBGrids in
unbound mode?  Do you have strong feelings about the quality of either
product?

I am currently using the APEX True DBGrid in unbound extended mode.  I am
happy with the performance of the grid, but the code provided by APEX for
the _unboundDataReadEx event is not the easiest to understand.  I downloaded
Sheridan's DBGrid and reviewed their code for the same event and it reads
very well.  As a result, I am a little concerned about the maintainability
of my current DBGrid choice.

Anyone out their have any opinions?

Thanks
Kouroche


2. Lost the components of Log shipping

3. DLLs

4. Apex True DBGrid: Annoying delete row behavior

5. COLDATA

6. Apex True DBGrid usage question.

7. Fatal error: Call to undefined function: ocilogon() .......

8. APEX announces True DBGrid Pro 5.0

9. APEX Releases True DBGrid Pro 5.0

10. Apex True Grid - Help!

11. Apex True Grid vs. Sheridan Data Wid

12. Apex true data bound grid