I can`t get working this command [setDialogOwner handle gadget]
First code is without that command and it works fine but colorDialog is on 0,0 position DBPwindov
`I add some line numbers
355: function eventViewportColorPick()
356: local colorreturn
357:
358: colorreturn=colorDialog()
359:
360: if colorreturn <> -1
361: setGadgetColor TabVPanelColorPick,colorreturn,colorreturn
362: COLOR BACKDROP 1, colorreturn
363: endif
367:
368: endfunction
Second Code with that command and I can't compile the code I got message:
"Could not understand command at line 361"
`I add some line numbers
355: function eventViewportColorPick()
356: local colorreturn
357: setDialogOwner TabVPanelColorPick `I tray set to another Gadgets but not Help
358: colorreturn=colorDialog()
359:
360: if colorreturn <> -1
361: setGadgetColor TabVPanelColorPick,colorreturn,colorreturn
362: COLOR BACKDROP 1, colorreturn
363: endif
367:
368: endfunction
I using lots of Blue GUI commands
and all works fine
but this[setDialogOwner handle gadget] not