Recent

Author Topic: IBX 2.4.0 for Lazarus is now available for download (Updated)  (Read 9957 times)

tonyw

  • Full Member
  • ***
  • Posts: 207
    • MWA Software
Re: IBX 2.4.0 for Lazarus is now available for download
« Reply #15 on: March 08, 2021, 05:40:06 pm »
i have done this , but when i open the sqlquery it is loading the first row till i scroll the mouse down then it shows other rows , (1.gif) - when i press play button in any row and when i move the focus into other row the controls in panel for example track bar also move , i wan only the row where i press button to interact not other rows.(2.gif)
thanks
It's probably worth calling the sqlquery's "Last" method after opening it. This will ensure that the RecordCount is correct.

alaa123456789

  • Full Member
  • ***
  • Posts: 172
Re: IBX 2.4.0 for Lazarus is now available for download
« Reply #16 on: March 08, 2021, 06:19:37 pm »
It's probably worth calling the sqlquery's "Last" method after opening it. This will ensure that the RecordCount is correct.
thanks i added it and it solved first issue, please have a look on the gif when i scroll down other rows got affected , i am playing one record dont want the others to be affected

tonyw

  • Full Member
  • ***
  • Posts: 207
    • MWA Software
Re: IBX 2.4.0 for Lazarus is now available for download
« Reply #17 on: March 09, 2021, 03:13:11 pm »
The thing you need to be careful about with a DBControlGrid is that there is an element of "illusion" about the list of rows. Only the currently focused row is the actual TPanel + controls, the others are no more than saved images in  a cache..

The control works by selecting each row in the current window and then drawing the panel to an in memory image. It then positions the panel so that it is located where the focused row is displayed. The remaining rows are then drawn from the cache. If you are playing a multimedia object and move the focus then the current playback will be stopped and replaced by the media from the selected row.

If you don't want to interrupt a playback then you need to add a "BeforeScroll" handler to the underlying dataset, check to see if the media is still playing and ask the user if they want to interrupt playback. You will need to raise an exception to stop the dataset scrolling if the user does not want to stop the playback.

alaa123456789

  • Full Member
  • ***
  • Posts: 172
Re: IBX 2.4.0 for Lazarus is now available for download
« Reply #18 on: March 12, 2021, 12:58:26 pm »
i have done small example ,guys can use from this link

https://youtu.be/gG9HlLqRPhU

thanks
« Last Edit: March 12, 2021, 03:19:55 pm by alaa123456789 »

Zoran

  • Hero Member
  • *****
  • Posts: 1671
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: IBX 2.4.0 for Lazarus is now available for download
« Reply #19 on: April 10, 2021, 10:57:52 am »
Package IBControls no more compiles in Lazarus trunk.

Quote
DBTreeView.pas(568,11) Error: Identifier not found "tvsUpdating"

It is since Lazarus rev. 64855, from 2021-03-22.

It seems that tvsUpdating was just removed -- https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/comctrls.pp?root=lazarus&r1=64848&r2=64855&pathrev=64855


Zoran

  • Hero Member
  • *****
  • Posts: 1671
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: IBX 2.4.0 for Lazarus is now available for download
« Reply #20 on: April 10, 2021, 11:18:43 am »
It seems that tvsUpdating was just removed -- https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/comctrls.pp?root=lazarus&r1=64848&r2=64855&pathrev=64855

I reported it as LCL bug (mantis 38735), as I think that a value should not be just removed; if it is not needed, then it should first be marked as deprecated and wait at least one Lazarus release before actually removing it, to allow third party developers to adjust their code.

Zoran

  • Hero Member
  • *****
  • Posts: 1671
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: IBX 2.4.0 for Lazarus is now available for download
« Reply #21 on: April 10, 2021, 02:01:52 pm »
WP returned tvsUpdating in rev. 64947.

So, the package compiles again, but Tony, please take a look at wp's comment in the bug report.


tonyw

  • Full Member
  • ***
  • Posts: 207
    • MWA Software
Re: IBX 2.4.0 for Lazarus is now available for download
« Reply #22 on: June 09, 2021, 02:20:30 pm »
Firebird 4.0.0 was released on 1st June. A small change from Firebird 4 rc1 has exposed a typo in the Firebird Pascal Interface file FB30Statement.pas that can result in an unknown data type error.

This has been fixed in the SVN release, but has not yet been progressed into the release zips. There will be a few days delay before re-issuing the zip files. This delay is intended to ensure that no other bugs are reported that affect Firebird 4.0.0 users.

To update from SVN see https://mwasoftware.co.uk/svn-repository

armandoboza

  • New member
  • *
  • Posts: 6
Re: IBX 2.4.0 for Lazarus is now available for download
« Reply #23 on: June 19, 2021, 05:11:19 pm »
Firebird 4.0.0 was released on 1st June. A small change from Firebird 4 rc1 has exposed a typo in the Firebird Pascal Interface file FB30Statement.pas that can result in an unknown data type error.

This has been fixed in the SVN release, but has not yet been progressed into the release zips. There will be a few days delay before re-issuing the zip files. This delay is intended to ensure that no other bugs are reported that affect Firebird 4.0.0 users.

To update from SVN see https://mwasoftware.co.uk/svn-repository

Thanks for letting us know, I tested it now and it really has a datatype error.

I downloaded it from svn but it continues with the error, I will wait for a corrected version.

Thanks.

Dperdi

  • Newbie
  • Posts: 1
Re: IBX 2.4.0 for Lazarus is now available for download (Updated)
« Reply #24 on: June 21, 2021, 08:20:22 pm »
Dear Tony.

Thank you in advance for the tremendous work at MWA Software.
I'm new to Lazarus but I have a lot of experience with Delphi up to the 2007 version and most of that experience has been with IBX so when I discovered your work, I felt ready to be able to migrate my code of so many years to this environment.

The following happens and this is why I ask you to please help me.

I just cleanly installed the latest version of Lazarus and immediately downloaded IBX for Lazarus version 2.4.0 from the MWA site. I unzipped the file, I copied the ibx folder to the Lazarus components folder, I opened the dclibx.lpk file I went to use-> install, I waited for it to compile, install, and rebuild the IDE but when restarting it throws me the following error:

Object reference is Nil.

Press Ok to continue and risk data corruption.
Press Abort to stop the program


I have tried both options and neither gives any results.

My English is written by google translator with some corrections so I apologize if something is not quite correct.

A screenshot of the error is attached.

Is there anything I can do to fix this?

Thank you in advance for your response. I greet you cordially
« Last Edit: June 22, 2021, 12:14:20 am by Dperdi »

 

TinyPortal © 2005-2018