Restored from previous forum. Originally posted by preacher.
How about a "empty gadget" what I mean by this is a gadget with this commandline "emptygadget"(#gadgetid,x,y,width,height,procedure) or similar.
Not sure if it is easily incorparatable in the different Purebasic versions but it sure would be nice...
(Implemented as 'CanvasGadget()')
[Preacher]
[Implemented] Empty gadget
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by freak.
??
What do you mean? A gadget that doesn't display anything? A gadget that doesn't get any Input?
What should this gadget do?
Can you please explain in more details, what you want, or give some example how it is used?
Thanx
Timo
--
A debugged program is one for which you have not yet found the conditions that make it fail.
??
What do you mean? A gadget that doesn't display anything? A gadget that doesn't get any Input?
What should this gadget do?
Can you please explain in more details, what you want, or give some example how it is used?
Thanx
Timo
--
A debugged program is one for which you have not yet found the conditions that make it fail.
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Franco.
Maybe you mean something like:
Gadget1=PG_CreateButtonGadget(Window1,320, 10, 100, 25,"Button","Gadget 1 ToolTip",?FunctionGadget1)
Well if you think about something like that, go to the viewtopic.php?t=1191 topic.
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.
Edited by - franco on 30 April 2002 00:14:01
Maybe you mean something like:
Gadget1=PG_CreateButtonGadget(Window1,320, 10, 100, 25,"Button","Gadget 1 ToolTip",?FunctionGadget1)
Well if you think about something like that, go to the viewtopic.php?t=1191 topic.
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.
Edited by - franco on 30 April 2002 00:14:01
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by preacher.
What I mean is when you setup you're gadget the procedure spesified to the gadget
is called with some parameter like "initialize" or something and for every input
the same procedure is called and you the programmer needs to fulfill the needs of the gadget so a mouse moving over the gadget will call the procedure with this info and the procedure needs to draw any gfx. accordingly.
[Preacher]
What I mean is when you setup you're gadget the procedure spesified to the gadget
is called with some parameter like "initialize" or something and for every input
the same procedure is called and you the programmer needs to fulfill the needs of the gadget so a mouse moving over the gadget will call the procedure with this info and the procedure needs to draw any gfx. accordingly.
[Preacher]
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Franco.
Everybody's opinion is truly appreciated.
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.
Please go to the viewtopic.php?t=1191 topic and tell me which syntax you prefer.Oops guess you are on the right track and somewhat before me. I like you're idea Franco hope it's made possible soon..
Everybody's opinion is truly appreciated.
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.