Graphic component like form in IDE

Post

Posted
Rating:
#1 (In Topic #884)
Trainee
 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?
Online now: No Back to the top

Post

Posted
Rating:
#2
Guru
BruceSteers is in the usergroup ‘Guru’

sushisan said

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?

Possible, yes
Automatic, no

You'll have to use . _Drag() event

/comp/gb.qt4/control/drag - Gambas Documentation
/comp/gb.qt4/drag - Gambas Documentation
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Regular
thatbruce is in the usergroup ‘Regular’
 Interesting idea!
I'll look forward to further news.
b

Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Guru
cogier is in the usergroup ‘Guru’
I dug out an old piece of 'Drag & Drop' code and put it on the Gambas Farm and below. I hope it helps.
<IMG src="https://www.cogier.com/gambas/Drag&Drop.png"> </IMG>

Attachment
Online now: No Back to the top
1 guest and 0 members have just viewed this.