Hi to all:
I want make a graphic panel where to drag and drop components like in main form editor in IDE, ie that align in a grid automatically. Is possible in Gambas?
Graphic component like form in IDE
-
- Posts: 839
- Joined: Thursday 23rd July 2020 5:20pm
Re: Graphic component like form in IDE
Possible, yes
Automatic, no
You'll have to use . _Drag() event
https://gambaswiki.org/edit/comp/gb.qt4/control/drag
https://gambaswiki.org/edit/comp/gb.qt4/drag
Re: Graphic component like form in IDE
Interesting idea!
I'll look forward to further news.
b
I'll look forward to further news.
b
- cogier
- Site Admin
- Posts: 896
- Joined: Wednesday 21st September 2016 2:22pm
- Location: Guernsey, Channel Islands
Re: Graphic component like form in IDE
I dug out an old piece of 'Drag & Drop' code and put it on the Gambas Farm and below. I hope it helps.


- Attachments
-
Drag&Drop-1.0.tar.gz
- (16.31 KiB) Not downloaded yet