[Gambas-user] Reading and displaying a picture - stored directly in a DB
adamnt42 at gmail.com
Mon Jul 5 16:30:15 CEST 2021
On Mon, 2021-07-05 at 16:08 +0200, Gianluigi wrote:
> Il giorno lun 5 lug 2021 alle ore 16:04 bb <adamnt42 at gmail.com> ha
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> Here I only followed the logic of selecting where we want on delete
> (next for all rows, previous only for the last row) and moving with
> the arrows.
> I used MouseUp because MouseDown doesn't seem to work here, Benoit?
> Can you see the attached project (*) and tell where is wrong, if
> (*) https://paste.c-net.org/CradleCredible
> Thank you and greetings
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
Here we go again! ;-)
comp • gb.qt4 • control • .mousedown
Raised when a mouse button is pressed while the cursor is inside the
The event will only fire if the cursor is "inside" the control.
The DataBrowser is a compound control with the proxy being
the gridview. So MouseDown will only fire if the pointer is in
Also MouseDown will interupt the processing of the actual click
until Xyzzy_MouseDown() is finished, so you may get the wrong
You get information about the pressed button with the Mouse class.
MouseDown is ONLY useful for getting which button was pressed,
NOT what is going on in the control!
MouseUp will give similar problems. Last wont help. You need
to stand-by and twiddle your thumbs until the Gambas control
(and the GUI) has finished jigging around with the control,
the database and the flower garden.
comp • gb.db.form • databrowser
The data is provided by the the first DataSource parent control.
Now, there's a clue!
comp • gb.db.form • datasource • .change
Event DataSource.Change (gb.db.form)
Event Change ( )
Raised when the DataSource current record has changed and all bound
child controls are updated.
;-) It's all there in the wiki in the "read every word" page.
More information about the User