Welcome, Guest
Username: Password: Remember me
Components and Libraries for Graphics Development, discussions, problems and suggestions.
  • Page:
  • 1

TOPIC:

Exception in ORCA/DBGrid 3 years 11 months ago #15449

  • siegfried kubenka
  • siegfried kubenka's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Hello Sir,
i have a problem with ORCA/DBGrid.
(CT 7.2, Win10)
DBGrid with 1 column on HudWindow.
procedure ToptiForm.HudButton1Click(Sender: TObject);
begin
  Form1.GQuery1.Close;
  Form1.GQuery1.SQL.Clear;
  Form1.GQuery1.SQL.Text:='SELECT * FROM objekt';
  Form1.GQuery1.Open;
end;            

and now i select an entry.
Fehler: Projekt project1 hat Exception-Klasse »External: SIGSEGV« ausgelöst.

 In Datei 'source\orca_scene2d.pas' in Zeile 17164
if FSelected * FRowHeight > VScrollBar.Value + ClientHeight - FRowHeight then
      VScrollBar.Value:=FSelected * FRowHeight - ClientHeight + FRowHeight;
Is that a bug, or my problem ?
mfg

Please Log in or Create an account to join the conversation.

Exception in ORCA/DBGrid 3 years 11 months ago #15450

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
We need more info
'SELECT * FROM objekt'
What is "objekt", which database ?
etc
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Exception in ORCA/DBGrid 3 years 11 months ago #15451

  • siegfried kubenka
  • siegfried kubenka's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
hello sir,
"objekt" is a table in SQLite3-Database.
i am using SQLite3Connection+SQLTransaction+Query+DataSource.
the form consists of :
ToptiForm
     TD2Scene
          TD2Background
                        TD2HudWindow
                                  TD2DBGrid
                                         TD2DBColumn
(how can i insert a piture ??)

Please Log in or Create an account to join the conversation.

Exception in ORCA/DBGrid 3 years 11 months ago #15453

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
Any project to test ?
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Exception in ORCA/DBGrid 3 years 11 months ago #15454

  • siegfried kubenka
  • siegfried kubenka's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Sir
I did some tests again today.
1. I created a new shape with a standard DBGrid.
    (The shape with the HudWindow is still in the project.)
    I compile the new form/project and there are
    the same exception.
2. I delete the DBGrid from the HudWindow.
    compile again and the project works without
    Error.

Too bad, the design is sensational.

Mfg

Please Log in or Create an account to join the conversation.

Exception in ORCA/DBGrid 3 years 11 months ago #15455

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
Thanks Sir
for your information,
the new pl_ORCA in LAB CT 7.3 (unreleased) use DirectX 12 API, CT 7.2 use DirectX 9.
pl_ORCA3D use now only pl_OpenGL API, not DirectX3D 9.
We working on this LAB task...
 
PilotLogic Core Programmer
The following user(s) said Thank You: siegfried kubenka

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Exception in ORCA/DBGrid 3 years 11 months ago #15460

  • siegfried kubenka
  • siegfried kubenka's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
thank you sir, much success

mfg

Please Log in or Create an account to join the conversation.

  • Page:
  • 1