[Gambas-user] Changes key and mouse events + CDialog Update

R Onstenk ronstk at ...239...
Sun Sep 21 00:38:23 CEST 2003


First, the update for CDialog must also be done for version 0.70.
The update is in message:  'CDialog question in context signal11'
The crash as described exists here in 0.70 too.

For the gambas-database-manager the TableView_MouseDown() and
Editor_KeyPress() events must be updated for the new method.

Note also the Help is not updated for this new way.

-------------------------------------------------------
TableView_MouseDown(X AS Integer, Y AS Integer, Button AS Integer)
can be changed to:

TableView_MouseDown()

-------------------------------------------------------
Editor_KeyPress(Text AS String, Code AS Integer, State As Integer) as
Boolean
can be changed to:

Editor_KeyPress() as Boolean
DIM Text AS String
DIM Code AS Integer
DIM State AS Integer
Text = Key.Text
Code  = Key.Code
State = Key.Button

-------------------------------------------------------
This will do the job and you don't need to search and alter the orginal code
below the event line.





More information about the User mailing list