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
- BruceSteers
- Posts: 1575
- Joined: Thursday 23rd July 2020 5:20pm
- Location: Isle of Wight
- Contact:
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
If at first you don't succeed , try doing something differently.
BruceS
BruceS
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
Have you ever noticed that software is never advertised using the adjective "spreadable".
- cogier
- Site Admin
- Posts: 1126
- 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) Downloaded 106 times